Changeset 5882 in josm for trunk/src/org
- Timestamp:
- 2013-04-18T20:51:27+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/GettingStarted.java
r5113 r5882 64 64 65 65 final private int myVersion = Version.getInstance().getVersion(); 66 final private String myJava = System.getProperty("java.version"); 66 67 final private String myLang = LanguageInfo.getWikiLanguagePrefix(); 67 68 … … 75 76 // Save this to prefs in case JOSM is updated so MOTD can be refreshed 76 77 Main.pref.putInteger("cache.motd.html.version", myVersion); 78 Main.pref.put("cache.motd.html.lang", myJava); 77 79 Main.pref.put("cache.motd.html.lang", myLang); 78 80 try { … … 94 96 // everytime because of something we can't read. 95 97 return (Main.pref.getInteger("cache.motd.html.version", -999) == myVersion) 98 && Main.pref.get("cache.motd.html.java").equals(myJava) 96 99 && Main.pref.get("cache.motd.html.lang").equals(myLang); 97 100 }
Note:
See TracChangeset
for help on using the changeset viewer.