Ignore:
Timestamp:
2016-08-03T15:01:43+02:00 (8 years ago)
Author:
simon04
Message:

see #11390, see #12890 - Deprecate Predicates class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/LayerPositionStrategy.java

    r10592 r10715  
    33
    44import java.util.List;
     5import java.util.Objects;
    56import java.util.function.Predicate;
    6 
    7 import org.openstreetmap.josm.tools.Predicates;
    87
    98/**
     
    4645     */
    4746    static LayerPositionStrategy inFrontOf(Layer other) {
    48         return inFrontOfFirst(Predicates.equalTo(other));
     47        return inFrontOfFirst(obj -> Objects.equals(obj, other));
    4948    }
    5049
Note: See TracChangeset for help on using the changeset viewer.