Ignore:
Timestamp:
2015-07-01T19:51:35+02:00 (4 years ago)
Author:
bastiK
Message:

applied #11628 - Added documentation to EastNorth, changed x - y = y.sub(x) to x.subtract(y) and minor code style improvements. (patch by michael2402, partially applied)

File:
1 edited

Legend:

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

    r8447 r8549  
    6969     */
    7070    public MoveCommand(Node node, LatLon position) {
    71         this(Collections.singleton((OsmPrimitive) node), node.getEastNorth().sub(Projections.project(position)));
     71        this(Collections.singleton((OsmPrimitive) node), Projections.project(position).subtract(node.getEastNorth()));
    7272    }
    7373
Note: See TracChangeset for help on using the changeset viewer.