Ignore:
Timestamp:
2015-11-30T22:57:02+01:00 (4 years ago)
Author:
Don-vip
Message:

partial revert of r9070 - make build run with Java 9 again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/DeleteCommand.java

    r9070 r9072  
    368368            return null;
    369369
    370         Set<OsmPrimitive> primitivesToDelete = new HashSet<>(selection);
     370        // Diamond operator does not work with Java 9 here
     371        Set<OsmPrimitive> primitivesToDelete = new HashSet<OsmPrimitive>(selection);
    371372
    372373        Collection<Relation> relationsToDelete = Utils.filteredCollection(primitivesToDelete, Relation.class);
Note: See TracChangeset for help on using the changeset viewer.