- Timestamp:
- 2013-11-20T21:49:59+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/SequenceCommand.java
r6396 r6397 52 52 boolean result = sequence[i].executeCommand(); 53 53 if (!result && !continueOnError) { 54 this.undoCommands(i-1);54 undoCommands(i-1); 55 55 return false; 56 56 } … … 70 70 } 71 71 72 pr ivatevoid undoCommands(int start) {72 protected final void undoCommands(int start) { 73 73 // We probably aborted this halfway though the 74 74 // execution sequence because of a sub-command … … 82 82 83 83 @Override public void undoCommand() { 84 this.undoCommands(sequence.length-1);84 undoCommands(sequence.length-1); 85 85 } 86 86 … … 118 118 this.sequence = sequence; 119 119 } 120 121 protected final void setSequenceComplete(boolean sequenceComplete) { 122 this.sequenceComplete = sequenceComplete; 123 } 120 124 }
Note:
See TracChangeset
for help on using the changeset viewer.