Changeset 10715 in josm for trunk/src/org/openstreetmap/josm/gui/layer
- Timestamp:
- 2016-08-03T15:01:43+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/LayerPositionStrategy.java
r10592 r10715 3 3 4 4 import java.util.List; 5 import java.util.Objects; 5 6 import java.util.function.Predicate; 6 7 import org.openstreetmap.josm.tools.Predicates;8 7 9 8 /** … … 46 45 */ 47 46 static LayerPositionStrategy inFrontOf(Layer other) { 48 return inFrontOfFirst( Predicates.equalTo(other));47 return inFrontOfFirst(obj -> Objects.equals(obj, other)); 49 48 } 50 49
Note:
See TracChangeset
for help on using the changeset viewer.