for (int i = 0; i < filenames.length; i++) {
String filename = filenames[i];
// skip any other locator files in a multiple file list
- if (filename.startsWith("jalview://") || filename.startsWith("jalviews://")) {
+ if (HttpUtils.isJalviewSchemeUri(filename)) {
setJalviewUri(filename);
} else if (! filename.toLowerCase(Locale.ROOT).endsWith("."+Application.LOCATOR_FILE_EXTENSION)) {
addStartupFile(filename);