Ignore:
Timestamp:
2014-04-16T00:54:15+02:00 (10 years ago)
Author:
Don-vip
Message:

sonar - fix various minor issues

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java

    r6889 r6986  
    4848
    4949    /**
    50      * Constructor
     50     * Constructs a new {@code OrthogonalizeAction}.
    5151     */
    5252    public OrthogonalizeAction() {
     
    519519     */
    520520    private static class EN {
     521        private EN() {
     522            // Hide implicit public constructor for utility class
     523        }
    521524        // rotate counter-clock-wise
    522525        public static EastNorth rotate_cc(EastNorth pivot, EastNorth en, double angle) {
  • trunk/src/org/openstreetmap/josm/actions/UnJoinNodeWayAction.java

    r6380 r6986  
    1010import java.util.ArrayList;
    1111import java.util.Collection;
    12 import java.util.Collections;
    1312import java.util.Iterator;
    1413import java.util.List;
     
    1817import org.openstreetmap.josm.Main;
    1918import org.openstreetmap.josm.command.RemoveNodesCommand;
    20 import org.openstreetmap.josm.command.Command;
    2119import org.openstreetmap.josm.data.osm.Node;
    2220import org.openstreetmap.josm.data.osm.OsmPrimitive;
     
    2422import org.openstreetmap.josm.tools.Shortcut;
    2523
     24/**
     25 * Disconnect nodes from a way they currently belong to.
     26 * @since 6253
     27 */
    2628public class UnJoinNodeWayAction extends JosmAction {
     29   
     30    /**
     31     * Constructs a new {@code UnJoinNodeWayAction}.
     32     */
    2733    public UnJoinNodeWayAction() {
    2834        super(tr("Disconnect Node from Way"), "unjoinnodeway",
Note: See TracChangeset for help on using the changeset viewer.