Changeset 10289 in josm


Ignore:
Timestamp:
2016-05-28T11:38:22+02:00 (23 months ago)
Author:
Don-vip
Message:

see #12881, see #11924 - force generics to avoid Java 9 compilation error

File:
1 edited

Legend:

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

    r10287 r10289  
    135135     */
    136136    public static <T> boolean exists(Iterable<T> collection, Class<? extends T> clazz) {
    137         return exists(collection, Predicates.isInstanceOf(clazz));
     137        return exists(collection, Predicates.<T>isInstanceOf(clazz));
    138138    }
    139139
Note: See TracChangeset for help on using the changeset viewer.