Changeset 32730 in osm for applications/editors/josm
- Timestamp:
- 2016-07-27T20:56:48+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/download_along
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/download_along/build.xml
r32680 r32730 4 4 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="10 580"/>6 <property name="plugin.main.version" value="10657"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
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.