Changeset 10373 in josm for trunk/src/org
- Timestamp:
- 2016-06-14T19:26:16+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AddImageryLayerAction.java
r10369 r10373 79 79 ? getWMSLayerInfo() : info; 80 80 if (infoToAdd != null) { 81 Main. main.addLayer(ImageryLayer.create(infoToAdd));81 Main.getLayerManager().addLayer(ImageryLayer.create(infoToAdd)); 82 82 AlignImageryPanel.addNagPanelIfNeeded(infoToAdd); 83 83 } -
trunk/src/org/openstreetmap/josm/io/OsmApi.java
r10364 r10373 90 90 if (api == null) { 91 91 api = new OsmApi(serverUrl); 92 instances.put(serverUrl,api);92 cacheInstance(api); 93 93 } 94 94 return api; 95 } 96 97 protected static void cacheInstance(OsmApi api) { 98 instances.put(api.getServerUrl(), api); 95 99 } 96 100
Note:
See TracChangeset
for help on using the changeset viewer.