Changeset 7436 in josm for trunk/src/org/openstreetmap/josm/command
- Timestamp:
- 2014-08-20T14:36:08+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/SequenceCommand.java
r7005 r7436 12 12 import org.openstreetmap.josm.data.osm.OsmPrimitive; 13 13 import org.openstreetmap.josm.tools.ImageProvider; 14 import org.openstreetmap.josm.tools.Utils; 14 15 15 16 /** … … 69 70 return sequence[sequence.length-1]; 70 71 } 71 72 72 73 protected final void undoCommands(int start) { 73 74 // We probably aborted this halfway though the … … 114 115 return prims; 115 116 } 116 117 117 118 protected final void setSequence(Command[] sequence) { 118 this.sequence = Arrays.copyOf(sequence, sequence.length);119 this.sequence = Utils.copyArray(sequence); 119 120 } 120 121 121 122 protected final void setSequenceComplete(boolean sequenceComplete) { 122 123 this.sequenceComplete = sequenceComplete;
Note: See TracChangeset
for help on using the changeset viewer.