Changeset 16953 in josm for trunk/test/unit/org
- Timestamp:
- 2020-08-29T07:53:11+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/gpx/ConvertToDataLayerActionTest.java
r15497 r16953 142 142 List<String> ways = osm.getWays().stream() 143 143 .map(w -> Integer.toString(w.getNodes().size()) + ":" + w.getKeys().entrySet().stream() 144 .sorted( (e1, e2) -> e1.getKey().compareTo(e2.getKey())).collect(Collectors.toList()).toString())144 .sorted(Comparator.comparing(Map.Entry::getKey)).collect(Collectors.toList()).toString()) 145 145 .sorted() 146 146 .collect(Collectors.toList()); … … 148 148 List<String> waysExpected = osmExpected.getWays().stream() 149 149 .map(w -> Integer.toString(w.getNodes().size()) + ":" + w.getKeys().entrySet().stream() 150 .sorted( (e1, e2) -> e1.getKey().compareTo(e2.getKey())).collect(Collectors.toList()).toString())150 .sorted(Comparator.comparing(Map.Entry::getKey)).collect(Collectors.toList()).toString()) 151 151 .sorted() 152 152 .collect(Collectors.toList());
Note:
See TracChangeset
for help on using the changeset viewer.