Changeset 16437 in josm for trunk/src/org
- Timestamp:
- 2020-05-17T14:16:47+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/spi/preferences/MapListSetting.java
r16436 r16437 2 2 package org.openstreetmap.josm.spi.preferences; 3 3 4 import java.util.Collections; 4 5 import java.util.LinkedHashMap; 5 6 import java.util.List; … … 8 9 9 10 import org.openstreetmap.josm.tools.StreamUtils; 10 import org.openstreetmap.josm.tools.Utils;11 11 12 12 /** … … 31 31 List<Map<String, String>> copy = value.stream() 32 32 .map(LinkedHashMap::new) 33 .map( Utils::toUnmodifiableMap)33 .map(Collections::unmodifiableMap) 34 34 .collect(StreamUtils.toUnmodifiableList()); 35 35 return new MapListSetting(copy);
Note:
See TracChangeset
for help on using the changeset viewer.