- Timestamp:
- 2013-12-30T23:21:22+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapView.java
r6565 r6567 736 736 * @return an unmodifiable list of layers of a certain type. 737 737 */ 738 public <T extends Layer> Collection<T> getLayersOfType(Class<T> ofType) {739 return Utils.filteredCollection(getAllLayers(), ofType);738 public <T extends Layer> List<T> getLayersOfType(Class<T> ofType) { 739 return new ArrayList<T>(Utils.filteredCollection(getAllLayers(), ofType)); 740 740 } 741 741
Note:
See TracChangeset
for help on using the changeset viewer.