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/AddNoteAction.java

    r10433 r11713  
    1313import org.openstreetmap.josm.data.coor.LatLon;
    1414import org.openstreetmap.josm.data.osm.NoteData;
    15 import org.openstreetmap.josm.gui.MapFrame;
    1615import org.openstreetmap.josm.gui.NoteInputDialog;
    1716import org.openstreetmap.josm.gui.Notification;
     
    3029    /**
    3130     * Construct a new map mode.
    32      * @param mapFrame Map frame to pass to the superconstructor
    3331     * @param data Note data container. Must not be null
     32     * @since 11713
    3433     */
    35     public AddNoteAction(MapFrame mapFrame, NoteData data) {
    36         super(tr("Add a new Note"), "addnote",
    37             tr("Add note mode"),
    38             mapFrame, ImageProvider.getCursor("crosshair", "create_note"));
     34    public AddNoteAction(NoteData data) {
     35        super(tr("Add a new Note"), "addnote", tr("Add note mode"),
     36            ImageProvider.getCursor("crosshair", "create_note"));
    3937        CheckParameterUtil.ensureParameterNotNull(data, "data");
    4038        noteData = data;
Note: See TracChangeset for help on using the changeset viewer.