Ignore:
Timestamp:
2016-07-27T20:56:48+02:00 (8 years ago)
Author:
donvip
Message:

fix #josm13227 - update to JOSM 10657

Location:
applications/editors/josm/plugins/download_along
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/download_along/build.xml

    r32680 r32730  
    44    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="10580"/>
     6    <property name="plugin.main.version" value="10657"/>
    77
    88        <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/download_along/src/org/openstreetmap/josm/plugin/download_along/DownloadAlongWayAction.java

    r32535 r32730  
    2424import org.openstreetmap.josm.gui.progress.NullProgressMonitor;
    2525import org.openstreetmap.josm.tools.Shortcut;
    26 import org.openstreetmap.josm.tools.Utils;
    2726
    2827class DownloadAlongWayAction extends DownloadAlongAction {
     
    142141    @Override
    143142    protected void updateEnabledState(Collection<? extends OsmPrimitive> selection) {
    144         setEnabled(Utils.exists(selection, OsmPrimitive.wayPredicate));
     143        setEnabled(selection.stream().anyMatch(OsmPrimitive.wayPredicate));
    145144    }
    146145}
Note: See TracChangeset for help on using the changeset viewer.