Changeset 15717 in josm for trunk/src/org/openstreetmap/josm/data/projection/Projections.java
- Timestamp:
- 2020-01-18T14:14:01+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/Projections.java
r13602 r15717 17 17 import java.util.regex.Matcher; 18 18 import java.util.regex.Pattern; 19 import java.util.stream.Collectors; 19 20 20 21 import org.openstreetmap.josm.data.projection.datum.Datum; … … 44 45 import org.openstreetmap.josm.tools.JosmRuntimeException; 45 46 import org.openstreetmap.josm.tools.Logging; 46 import org.openstreetmap.josm.tools.Utils;47 47 48 48 /** … … 407 407 408 408 private static String listKeys(Map<String, ?> map) { 409 List<String> keys = new ArrayList<>(map.keySet());410 Collections.sort(keys);411 return Utils.join(", ", keys);409 return map.keySet().stream() 410 .sorted() 411 .collect(Collectors.joining(", ")); 412 412 } 413 413
Note:
See TracChangeset
for help on using the changeset viewer.
