Remove latestVersion if null
authoramwaterhouse <Andrew Waterhouse>
Wed, 28 Sep 2005 15:42:18 +0000 (15:42 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 28 Sep 2005 15:42:18 +0000 (15:42 +0000)
src/jalview/bin/Cache.java

index c6a517f..3866140 100755 (executable)
@@ -203,6 +203,9 @@ public class Cache
         }\r
         else\r
         {\r
+          if(jnlpVersion!=null)\r
+            setProperty("LATEST_VERSION", jnlpVersion);\r
+          else\r
           applicationProperties.remove("LATEST_VERSION");\r
         }\r
 \r