Changeset 9072 in josm for trunk/src/org/openstreetmap/josm/actions/relation/AbstractRelationAction.java
- Timestamp:
- 2015-11-30T22:57:02+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/relation/AbstractRelationAction.java
r9070 r9072 24 24 return Collections.<Relation>emptySet(); 25 25 } else { 26 return new SubclassFilteredCollection<>(primitives, OsmPrimitive.relationPredicate); 26 // Diamond operator does not work with Java 9 here 27 return new SubclassFilteredCollection<OsmPrimitive, Relation>( 28 primitives, OsmPrimitive.relationPredicate); 27 29 } 28 30 }
Note:
See TracChangeset
for help on using the changeset viewer.