Ignore:
Timestamp:
2017-10-03T16:03:53+02:00 (7 years ago)
Author:
stoecker
Message:

properly detect JOSM version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/bugreport/JosmUpdatePanel.java

    r12917 r12918  
    6161    private static int getTestedVersion() {
    6262        try {
    63             String testedString = new WikiReader().read(Main.getJOSMWebsite() + "/wiki/TestedVersion?format=txt");
     63            String testedString = new WikiReader().read(Main.getJOSMWebsite() + "/tested");
    6464            return Integer.parseInt(testedString.trim());
    6565        } catch (NumberFormatException | IOException e) {
    66             Logging.log(Logging.LEVEL_WARN, "Unable to detect latest version of JOSM:", e);
     66            Logging.log(Logging.LEVEL_WARN, "Unable to detect current tested version of JOSM:", e);
    6767            return -1;
    6868        }
Note: See TracChangeset for help on using the changeset viewer.