Changeset 8443 in josm for trunk/src/org/openstreetmap/josm/command
- Timestamp:
- 2015-06-02T16:40:38+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/command
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/ChangePropertyKeyCommand.java
r8378 r8443 82 82 @Override 83 83 public String getDescriptionText() { 84 String text = tr( 84 String text = tr("Replace \"{0}\" by \"{1}\" for", key, newKey); 85 85 if (objects.size() == 1) { 86 86 NameVisitor v = new NameVisitor(); -
trunk/src/org/openstreetmap/josm/command/RotateCommand.java
r8392 r8443 50 50 **/ 51 51 protected final double getAngle(EastNorth currentEN) { 52 if ( pivot == null)52 if (pivot == null) 53 53 return 0.0; // should never happen by contract 54 54 return Math.atan2(currentEN.east()-pivot.east(), currentEN.north()-pivot.north()); -
trunk/src/org/openstreetmap/josm/command/TransformNodesCommand.java
r8285 r8443 133 133 EastNorth sum = new EastNorth(0,0); 134 134 135 for (Node n : nodes 135 for (Node n : nodes) { 136 136 EastNorth en = n.getEastNorth(); 137 137 sum = sum.add(en.east(), en.north());
Note: See TracChangeset
for help on using the changeset viewer.