X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=blobdiff_plain;f=src%2Fjalview%2Fbin%2FCache.java;h=d37468220524fdf1df8d93c95d4adc5f9a1c46d9;hp=dcd6546ad8bd27f2210c9261761a56f33cbb46f3;hb=507f8f9e119ce89ba04aea3b3d814cbe58f3d686;hpb=9fe513b9503362720ee97b2e05d33df399cfd55c diff --git a/src/jalview/bin/Cache.java b/src/jalview/bin/Cache.java index dcd6546..d374682 100755 --- a/src/jalview/bin/Cache.java +++ b/src/jalview/bin/Cache.java @@ -288,7 +288,8 @@ public class Cache /** Default file is ~/.jalview_properties */ static String propertiesFile; - private static boolean propsAreReadOnly = false; + private static boolean propsAreReadOnly = /** @j2sNative true || */ + false; public static void initLogger() { @@ -399,7 +400,8 @@ public class Cache // LOAD THE AUTHORS FROM THE authors.props file try { - String authorDetails = "jar:" + String authorDetails = /** @j2sNative "xxx" || */ + "jar:" .concat(Cache.class.getProtectionDomain().getCodeSource() .getLocation().toString().concat("!/authors.props")); @@ -421,7 +423,8 @@ public class Cache // VERSION MAY HAVE CHANGED SINCE LAST USING JALVIEW try { - String buildDetails = "jar:".concat(Cache.class.getProtectionDomain() + String buildDetails = /** @j2sNative "xxx" || */ + "jar:".concat(Cache.class.getProtectionDomain() .getCodeSource().getLocation().toString() .concat("!/.build_properties"));