Changeset 32730 in osm for applications/editors/josm/plugins/download_along/src
- Timestamp:
- 2016-07-27T20:56:48+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/download_along/src/org/openstreetmap/josm/plugin/download_along/DownloadAlongWayAction.java
r32535 r32730 24 24 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 25 25 import org.openstreetmap.josm.tools.Shortcut; 26 import org.openstreetmap.josm.tools.Utils;27 26 28 27 class DownloadAlongWayAction extends DownloadAlongAction { … … 142 141 @Override 143 142 protected void updateEnabledState(Collection<? extends OsmPrimitive> selection) { 144 setEnabled( Utils.exists(selection,OsmPrimitive.wayPredicate));143 setEnabled(selection.stream().anyMatch(OsmPrimitive.wayPredicate)); 145 144 } 146 145 }
Note:
See TracChangeset
for help on using the changeset viewer.