Ignore:
Timestamp:
2014-04-26T17:39:23+02:00 (10 years ago)
Author:
Don-vip
Message:

see #8465 - use diamond operator where applicable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/SelectNonBranchingWaySequences.java

    r6830 r7005  
    3838            nodes = null;
    3939        } else {
    40             nodes = new TreeSet<Node>();
    41             outerNodes = new TreeSet<Node>();
     40            nodes = new TreeSet<>();
     41            outerNodes = new TreeSet<>();
    4242
    4343            for (Way way : ways)
     
    149149            return;
    150150
    151         selection = new LinkedList<OsmPrimitive>();
     151        selection = new LinkedList<>();
    152152        for (OsmPrimitive primitive : currentSelection)
    153153            selection.add(primitive);
Note: See TracChangeset for help on using the changeset viewer.