Ignore:
Timestamp:
2016-03-12T23:29:58+01:00 (8 years ago)
Author:
Don-vip
Message:

sonar - use diamond operator when possible (some cases cause compilation failures with Java 9)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/DuplicateNode.java

    r9072 r9971  
    383383        if (!isFixable(testError)) return null;
    384384        // Diamond operator does not work with Java 9 here
     385        @SuppressWarnings("unused")
    385386        Collection<OsmPrimitive> sel = new LinkedList<OsmPrimitive>(testError.getPrimitives());
    386387        Set<Node> nodes = new LinkedHashSet<>(OsmPrimitive.getFilteredList(sel, Node.class));
Note: See TracChangeset for help on using the changeset viewer.