X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=getdown%2Fsrc%2Fgetdown%2Fcore%2Fsrc%2Fmain%2Fjava%2Fcom%2Fthreerings%2Fgetdown%2Fdata%2FApplication.java;h=4d75236885133fb711957c698e24c42ecb4e118e;hb=992f8de4d39d69eca640746b5126aae1d62685cc;hp=b6ae55d3bff8aa65ce0f74856fdaf24bb95debca;hpb=d1c8640fb18d4fad7cf630d2ccb9cf31dfc3db25;p=jalview.git diff --git a/getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/Application.java b/getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/Application.java index b6ae55d..4d75236 100644 --- a/getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/Application.java +++ b/getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/Application.java @@ -1061,10 +1061,10 @@ public class Application if (j > -1) { ext = filename.substring(j+1); } - if (startupFileExtensions.contains(ext.toLowerCase())) { + if (locatorFileExtension.equals(ext.toLowerCase())) { + // this file extension should have been dealt with in Getdown class + } else { _appargs.add(0, "-open"); - } else if (locatorFileExtension.equals(ext.toLowerCase())) { - // deal with this when first encountered in Getdown! } } @@ -1869,6 +1869,5 @@ public class Application protected static final String ENV_VAR_PREFIX = "%ENV."; protected static final Pattern ENV_VAR_PATTERN = Pattern.compile("%ENV\\.(.*?)%"); - public static final List startupFileExtensions = Arrays.asList(new String[] { "jvp" }); public static final String locatorFileExtension = "jvl"; }