Changeset 10691 in josm for trunk/test/unit/org/CustomMatchers.java
- Timestamp:
- 2016-07-31T17:58:31+02:00 (10 years ago)
- File:
-
- 1 edited
-
trunk/test/unit/org/CustomMatchers.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/CustomMatchers.java
r9246 r10691 4 4 import java.awt.geom.Point2D; 5 5 import java.util.Collection; 6 import java.util.function.Predicate; 6 7 7 8 import org.hamcrest.CustomTypeSafeMatcher; … … 12 13 import org.openstreetmap.josm.data.coor.EastNorth; 13 14 import org.openstreetmap.josm.data.coor.LatLon; 14 import org.openstreetmap.josm.tools.Predicate;15 15 16 16 /** … … 35 35 @Override 36 36 protected boolean matchesSafely(T item) { 37 return predicate. evaluate(item);37 return predicate.test(item); 38 38 } 39 39
Note:
See TracChangeset
for help on using the changeset viewer.
