Ignore:
Timestamp:
2017-02-21T01:04:28+01:00 (8 years ago)
Author:
Don-vip
Message:

see #11924 - remove workarounds for jdk9 compilation problems with diamond operator - sounds a lot like JDK-8075793 (solved in b150)

File:
1 edited

Legend:

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

    r11339 r11590  
    403403            return null;
    404404
    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);
    408406
    409407        Collection<Relation> relationsToDelete = Utils.filteredCollection(primitivesToDelete, Relation.class);
Note: See TracChangeset for help on using the changeset viewer.