Changeset 11590 in josm for trunk/src/org/openstreetmap/josm/command
- Timestamp:
- 2017-02-21T01:04:28+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/DeleteCommand.java
r11339 r11590 403 403 return null; 404 404 405 // Diamond operator does not work with Java 9 here 406 @SuppressWarnings("unused") 407 Set<OsmPrimitive> primitivesToDelete = new HashSet<OsmPrimitive>(selection); 405 Set<OsmPrimitive> primitivesToDelete = new HashSet<>(selection); 408 406 409 407 Collection<Relation> relationsToDelete = Utils.filteredCollection(primitivesToDelete, Relation.class);
Note:
See TracChangeset
for help on using the changeset viewer.