Ignore:
Timestamp:
2015-11-30T22:57:02+01:00 (6 years ago)
Author:
Don-vip
Message:

partial revert of r9070 - make build run with Java 9 again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r9070 r9072  
    141141
    142142    public static <T> Collection<T> filter(Collection<? extends T> collection, Predicate<? super T> predicate) {
    143         return new FilteredCollection<>(collection, predicate);
     143        // Diamond operator does not work with Java 9 here
     144        return new FilteredCollection<T>(collection, predicate);
    144145    }
    145146
Note: See TracChangeset for help on using the changeset viewer.