Ignore:
Timestamp:
2013-09-22T18:36:07+02:00 (11 years ago)
Author:
Don-vip
Message:

Sonar/FindBugs - various bugfixes / violation fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/RotateCommand.java

    r6069 r6246  
    2626
    2727    /**
    28      * World position of the mouse when the user started the command.
    29      *
    30      */
    31     EastNorth startEN = null;
    32 
    33     /**
    3428     * angle of rotation starting click to pivot
    3529     */
     
    4943
    5044        pivot = getNodesCenter();
    51 
    52         // We remember the very first position of the mouse for this action.
    53         // Note that SelectAction will keep the same ScaleCommand when the user
    54         // releases the button and presses it again with the same modifiers.
    55         // The very first point of this operation is stored here.
    56         startEN   = currentEN;
    57 
    5845        startAngle = getAngle(currentEN);
    5946        rotationAngle = 0.0;
Note: See TracChangeset for help on using the changeset viewer.