- Timestamp:
- 2010-02-13T18:00:52+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/UndoRedoHandler.java
r2621 r2975 55 55 * Execute the command and add it to the intern command queue. 56 56 */ 57 public void add(final Command c) {57 synchronized public void add(final Command c) { 58 58 addNoRedraw(c); 59 59 afterAdd(); … … 63 63 * Undoes the last added command. 64 64 */ 65 public void undo() {65 synchronized public void undo() { 66 66 if (commands.isEmpty()) 67 67 return;
Note:
See TracChangeset
for help on using the changeset viewer.