Ignore:
Timestamp:
2017-03-10T02:28:00+01:00 (7 years ago)
Author:
Don-vip
Message:

add Ant target to run PMD (only few rules for now), fix violations

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        1212junit*.properties
        1313foobar
         14pmd-josm.xml
  • trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java

    r11542 r11713  
    4040import org.openstreetmap.josm.data.preferences.IntegerProperty;
    4141import org.openstreetmap.josm.data.preferences.StrokeProperty;
    42 import org.openstreetmap.josm.gui.MapFrame;
    4342import org.openstreetmap.josm.gui.MapView;
    4443import org.openstreetmap.josm.gui.draw.MapViewPath;
     
    111110    /**
    112111     * Constructs a new {@code ImproveWayAccuracyAction}.
    113      * @param mapFrame Map frame
     112     * @since 11713
    114113     */
    115     public ImproveWayAccuracyAction(MapFrame mapFrame) {
     114    public ImproveWayAccuracyAction() {
    116115        super(tr("Improve Way Accuracy"), "improvewayaccuracy",
    117116                tr("Improve Way Accuracy mode"),
    118117                Shortcut.registerShortcut("mapmode:ImproveWayAccuracy",
    119118                tr("Mode: {0}", tr("Improve Way Accuracy")),
    120                 KeyEvent.VK_W, Shortcut.DIRECT), mapFrame, Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
     119                KeyEvent.VK_W, Shortcut.DIRECT), Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    121120
    122121        readPreferences();
Note: See TracChangeset for help on using the changeset viewer.