Changeset 32946 in osm for applications/editors/josm/plugins/download_along
- Timestamp:
- 2016-09-08T00:29:47+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
r32730 r32946 141 141 @Override 142 142 protected void updateEnabledState(Collection<? extends OsmPrimitive> selection) { 143 setEnabled(selection.stream().anyMatch( OsmPrimitive.wayPredicate));143 setEnabled(selection.stream().anyMatch(Way.class::isInstance)); 144 144 } 145 145 }
Note:
See TracChangeset
for help on using the changeset viewer.