Changeset 10378 in josm for trunk/src/org/openstreetmap/josm/command
- Timestamp:
- 2016-06-15T10:30:37+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/command
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/MoveCommand.java
r10248 r10378 107 107 public MoveCommand(Collection<OsmPrimitive> objects, EastNorth start, EastNorth end) { 108 108 this(objects, end.getX()-start.getX(), end.getY()-start.getY()); 109 startEN = 109 startEN = start; 110 110 } 111 111 … … 118 118 public MoveCommand(OsmPrimitive p, EastNorth start, EastNorth end) { 119 119 this(Collections.singleton(p), end.getX()-start.getX(), end.getY()-start.getY()); 120 startEN = 120 startEN = start; 121 121 } 122 122 -
trunk/src/org/openstreetmap/josm/command/PurgeCommand.java
r9989 r10378 231 231 List<Relation> outR = new ArrayList<>(inR.size()); 232 232 while (!childlessR.isEmpty()) { 233 // Identify one childless Relation and 234 // let it virtually die. This makes other 235 // relations childless. 236 Iterator<Relation> it = childlessR.iterator(); 233 // Identify one childless Relation and let it virtually die. This makes other relations childless. 234 Iterator<Relation> it = childlessR.iterator(); 237 235 Relation next = it.next(); 238 236 it.remove(); -
trunk/src/org/openstreetmap/josm/command/RotateCommand.java
r9371 r10378 81 81 double x = oldEastNorth.east() - pivot.east(); 82 82 double y = oldEastNorth.north() - pivot.north(); 83 // CHECKSTYLE.OFF: SingleSpaceSeparator 83 84 double nx = cosPhi * x + sinPhi * y + pivot.east(); 84 85 double ny = -sinPhi * x + cosPhi * y + pivot.north(); 86 // CHECKSTYLE.ON: SingleSpaceSeparator 85 87 n.setEastNorth(new EastNorth(nx, ny)); 86 88 } -
trunk/src/org/openstreetmap/josm/command/ScaleCommand.java
r9371 r10378 44 44 // releases the button and presses it again with the same modifiers. 45 45 // The very first point of this operation is stored here. 46 startEN 46 startEN = currentEN; 47 47 48 48 handleEvent(currentEN); -
trunk/src/org/openstreetmap/josm/command/conflict/ConflictAddCommand.java
r10364 r10378 32 32 public ConflictAddCommand(OsmDataLayer layer, Conflict<? extends OsmPrimitive> conflict) { 33 33 super(layer); 34 this.conflict 34 this.conflict = conflict; 35 35 } 36 36
Note:
See TracChangeset
for help on using the changeset viewer.