From: amwaterhouse Date: Wed, 28 Sep 2005 15:39:51 +0000 (+0000) Subject: Remove latestVersion if null X-Git-Tag: Release_2_06~4 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b23a2f5a605023f759689f3e21fd4f465e2ed04b;p=jalview.git Remove latestVersion if null --- diff --git a/src/jalview/bin/Cache.java b/src/jalview/bin/Cache.java index 0013c63..c6a517f 100755 --- a/src/jalview/bin/Cache.java +++ b/src/jalview/bin/Cache.java @@ -156,6 +156,7 @@ public class Cache System.out.println("Jalview Version: "+codeVersion); + // jnlpVersion will be null if we're using InstallAnywhere // Dont do this check if running in headless mode if(jnlpVersion==null && ( @@ -163,7 +164,6 @@ public class Cache || System.getProperty("java.awt.headless").equals("false"))) { - class VersionChecker extends Thread { @@ -203,7 +203,7 @@ public class Cache } else { - setProperty("LATEST_VERSION", jnlpVersion); + applicationProperties.remove("LATEST_VERSION"); } setProperty("VERSION", codeVersion);