Changeset 10744 in josm for trunk/test/unit
- Timestamp:
- 2016-08-06T10:54:30+02:00 (8 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/gui/layer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/LayerManagerTest.java
r10592 r10744 33 33 import org.openstreetmap.josm.gui.util.GuiHelper; 34 34 import org.openstreetmap.josm.testutils.ExpectedRootException; 35 import org.openstreetmap.josm.tools.Predicates;36 35 import org.openstreetmap.josm.tools.bugreport.ReportedException; 37 36 … … 109 108 @Override 110 109 public LayerPositionStrategy getDefaultLayerPosition() { 111 return LayerPositionStrategy.afterLast( Predicates.<Layer>alwaysTrue());110 return LayerPositionStrategy.afterLast(o -> true); 112 111 } 113 112 } -
trunk/test/unit/org/openstreetmap/josm/gui/layer/MainLayerManagerTest.java
r10467 r10744 16 16 import org.openstreetmap.josm.gui.layer.MainLayerManager.ActiveLayerChangeListener; 17 17 import org.openstreetmap.josm.gui.util.GuiHelper; 18 import org.openstreetmap.josm.tools.Predicates;19 18 20 19 /** … … 51 50 @Override 52 51 public LayerPositionStrategy getDefaultLayerPosition() { 53 return LayerPositionStrategy.afterLast( Predicates.<Layer>alwaysTrue());52 return LayerPositionStrategy.afterLast(o -> true); 54 53 } 55 54 }
Note:
See TracChangeset
for help on using the changeset viewer.