Changeset 10584 in josm for trunk


Ignore:
Timestamp:
2016-07-22T22:08:31+02:00 (4 years ago)
Author:
Don-vip
Message:

see #12908 - checkstyle

File:
1 edited

Legend:

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

    r10582 r10584  
    118118     * @param collection The collection to filter.
    119119     * @param predicate The predicate to filter for.
    120      * @return The filtered collection. It is a Collection<T>.
     120     * @return The filtered collection. It is a {@code Collection<T>}.
    121121     */
    122122    public static <T> SubclassFilteredCollection<T, T> filter(Collection<T> collection, java.util.function.Predicate<T> predicate) {
    123         return new SubclassFilteredCollection<T, T>(collection, predicate);
     123        return new SubclassFilteredCollection<>(collection, predicate);
    124124    }
    125125}
Note: See TracChangeset for help on using the changeset viewer.