Changeset 13068 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2017-11-01T19:35:45+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/bugreport/JosmUpdatePanel.java
r13019 r13068 61 61 62 62 private static int getTestedVersion() { 63 try { 64 CachedFile testedVersion = new CachedFile(Main.getJOSMWebsite() + "/tested"); 65 testedVersion.setMaxAge(60 * 15); // 15 Minutes 63 try (CachedFile testedVersion = new CachedFile(Main.getJOSMWebsite() + "/tested")) { 64 testedVersion.setMaxAge(60L * 15); // 15 Minutes 66 65 String testedString = new String(testedVersion.getByteContent(), StandardCharsets.ISO_8859_1); 67 66 return Integer.parseInt(testedString.trim());
Note:
See TracChangeset
for help on using the changeset viewer.