Changeset 3961 in josm for trunk/src/org/openstreetmap/josm
- Timestamp:
- 2011-03-06T22:06:57+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/ImageryLayerInfo.java
r3826 r3961 25 25 ArrayList<ImageryInfo> defaultLayers = new ArrayList<ImageryInfo>(); 26 26 27 private final static String[] DEFAULT_LAYER_SITES = { 28 "http://josm.openstreetmap.de/maps" 27 private final static String[] DEFAULT_LAYER_SITES = { 28 "http://josm.openstreetmap.de/maps" 29 29 }; 30 30 31 31 public void load() { 32 32 layers.clear(); 33 defaultLayers.clear(); 33 34 Collection<String> defaults = Main.pref.getCollection( 34 35 "imagery.layers.default", Collections.<String>emptySet()); … … 96 97 ? defaultsSave : defaults); 97 98 Collections.sort(layers); 99 Collections.sort(defaultLayers); 98 100 save(); 99 101 }
Note:
See TracChangeset
for help on using the changeset viewer.