From b23a2f5a605023f759689f3e21fd4f465e2ed04b Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 28 Sep 2005 15:39:51 +0000 Subject: [PATCH] Remove latestVersion if null --- src/jalview/bin/Cache.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 1.7.10.2