Changeset 6890 in josm for trunk/src/org/openstreetmap/josm/command/RotateCommand.java
- Timestamp:
- 2014-02-27T02:50:12+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/RotateCommand.java
r6830 r6890 52 52 * Get angle between the horizontal axis and the line formed by the pivot and give points. 53 53 **/ 54 protected double getAngle(EastNorth currentEN) {54 protected final double getAngle(EastNorth currentEN) { 55 55 if ( pivot == null ) 56 56 return 0.0; // should never happen by contract … … 62 62 */ 63 63 @Override 64 public void handleEvent(EastNorth currentEN) {64 public final void handleEvent(EastNorth currentEN) { 65 65 double currentAngle = getAngle(currentEN); 66 66 rotationAngle = currentAngle - startAngle;
Note:
See TracChangeset
for help on using the changeset viewer.