Ignore:
Timestamp:
2015-11-30T08:36:35+01:00 (8 years ago)
Author:
Don-vip
Message:

Sonar - squid:S2293 - The diamond operator ("<>") should be used

File:
1 edited

Legend:

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

    r9062 r9070  
    368368            return null;
    369369
    370         Set<OsmPrimitive> primitivesToDelete = new HashSet<OsmPrimitive>(selection);
     370        Set<OsmPrimitive> primitivesToDelete = new HashSet<>(selection);
    371371
    372372        Collection<Relation> relationsToDelete = Utils.filteredCollection(primitivesToDelete, Relation.class);
Note: See TracChangeset for help on using the changeset viewer.