Ignore:
Timestamp:
2016-05-16T14:59:34+02:00 (4 years ago)
Author:
Don-vip
Message:

findbugs: SC_START_IN_CTOR + UW_UNCOND_WAIT + UM_UNNECESSARY_MATH + UPM_UNCALLED_PRIVATE_METHOD + DM_STRING_TOSTRING + DM_BOXED_PRIMITIVE_FOR_COMPARE + SIC_INNER_SHOULD_BE_STATIC_NEEDS_THIS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/util/RotationAngle.java

    r8929 r10228  
    6767            case "n":
    6868            case "north":
    69                 return Math.toRadians(0);
     69                return 0; // 0 degree => 0 radian
    7070            case "ne":
    7171            case "northeast":
     
    7979            case "s":
    8080            case "south":
    81                 return Math.toRadians(180);
     81                return Math.PI; // 180 degree
    8282            case "sw":
    8383            case "southwest":
Note: See TracChangeset for help on using the changeset viewer.