Changeset 3956 in josm
- Timestamp:
- 2011-03-05T00:53:31+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r3934 r3956 216 216 // capabilities are already known to the editor instance. However 217 217 // if it goes wrong that's not critical at this stage. 218 try { 219 OsmApi.getOsmApi().initialize(null); 220 } catch (Exception x) { 221 // ignore any exception here. 218 if (Main.pref.getBoolean("get-capabilities-at-start", false)) { 219 try { 220 OsmApi.getOsmApi().initialize(null); 221 } catch (Exception x) { 222 // ignore any exception here. 223 } 222 224 } 223 225
Note:
See TracChangeset
for help on using the changeset viewer.