Ignore:
Timestamp:
2017-10-26T00:42:11+02:00 (8 years ago)
Author:
donvip
Message:

update to JOSM 13007

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

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/CommandLine

    • Property svn:ignore
      •  

        old new  
        22checkstyle-josm-CommandLine.xml
        33findbugs-josm-CommandLine.xml
         4spotbugs-josm-CommandLine.xml
  • applications/editors/josm/plugins/CommandLine/src/CommandLine/AnyAction.java

    r33238 r33733  
    44import java.awt.Point;
    55
    6 import org.openstreetmap.josm.Main;
    76import org.openstreetmap.josm.data.osm.OsmPrimitive;
     7import org.openstreetmap.josm.gui.MainApplication;
    88
    99public class AnyAction extends AbstractOsmAction<OsmPrimitive> {
     
    1515    @Override
    1616    protected OsmPrimitive getNearest(Point mousePos) {
    17         return Main.map.mapView.getNearestNodeOrWay(mousePos, OsmPrimitive::isUsable, false);
     17        return MainApplication.getMap().mapView.getNearestNodeOrWay(mousePos, OsmPrimitive::isUsable, false);
    1818    }
    1919}
Note: See TracChangeset for help on using the changeset viewer.