Changeset 5990 in josm
- Timestamp:
- 2013-06-05T00:52:58+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapView.java
r5979 r5990 678 678 */ 679 679 public Collection<Layer> getAllLayers() { 680 return Collections.unmodifiableCollection( layers);680 return Collections.unmodifiableCollection(new ArrayList<Layer>(layers)); 681 681 } 682 682 … … 685 685 */ 686 686 public List<Layer> getAllLayersAsList() { 687 return Collections.unmodifiableList( layers);687 return Collections.unmodifiableList(new ArrayList<Layer>(layers)); 688 688 } 689 689
Note:
See TracChangeset
for help on using the changeset viewer.