Changeset 1688 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2009-06-22T11:48:41+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmApi.java
r1684 r1688 76 76 */ 77 77 static public OsmApi getOsmApi() { 78 String serverUrl = Main.pref.get("osm-server.url" );78 String serverUrl = Main.pref.get("osm-server.url", "http://api.openstreetmap.org/api"); 79 79 if (serverUrl == null) 80 80 throw new IllegalStateException(tr("preference ''{0}'' missing. Can't initialize OsmApi", "osm-server.url"));
Note:
See TracChangeset
for help on using the changeset viewer.