Ignore:
Timestamp:
2014-02-27T02:50:12+01:00 (10 years ago)
Author:
Don-vip
Message:

fix some Sonar issues (Constructor Calls Overridable Method)

File:
1 edited

Legend:

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

    r6830 r6890  
    5252     * Get angle between the horizontal axis and the line formed by the pivot and give points.
    5353     **/
    54     protected double getAngle(EastNorth currentEN) {
     54    protected final double getAngle(EastNorth currentEN) {
    5555        if ( pivot == null )
    5656            return 0.0; // should never happen by contract
     
    6262     */
    6363    @Override
    64     public void handleEvent(EastNorth currentEN) {
     64    public final void handleEvent(EastNorth currentEN) {
    6565        double currentAngle = getAngle(currentEN);
    6666        rotationAngle = currentAngle - startAngle;
Note: See TracChangeset for help on using the changeset viewer.