Ignore:
Timestamp:
2016-01-09T16:37:20+01:00 (4 years ago)
Author:
simon04
Message:

Refactoring: introduce OsmApi#getServerUrl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ExceptionUtil.java

    r8846 r9353  
    5353                "<html>Failed to initialize communication with the OSM server {0}.<br>"
    5454                + "Check the server URL in your preferences and your internet connection.",
    55                 Main.pref.get("osm-server.url", OsmApi.DEFAULT_API_URL));
     55                OsmApi.getOsmApi().getServerUrl());
    5656    }
    5757
     
    6464                + "Please open the Preferences Dialog and generate or enter an Access Token."
    6565                + "</html>",
    66                 Main.pref.get("osm-server.url", OsmApi.DEFAULT_API_URL)
     66                OsmApi.getOsmApi().getServerUrl()
    6767        );
    6868    }
Note: See TracChangeset for help on using the changeset viewer.