Ignore:
Timestamp:
2017-02-21T01:04:28+01:00 (7 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/actions/relation/AbstractRelationAction.java

    r10716 r11590  
    2525            return Collections.<Relation>emptySet();
    2626        } else {
    27             // Diamond operator does not work with Java 9 here
    28             return new SubclassFilteredCollection<OsmPrimitive, Relation>(
    29                     primitives, Relation.class::isInstance);
     27            return new SubclassFilteredCollection<>(primitives, Relation.class::isInstance);
    3028        }
    3129    }
Note: See TracChangeset for help on using the changeset viewer.