Changeset 14134 in josm for trunk/src/org/openstreetmap/josm/gui/MainApplication.java
- Timestamp:
- 2018-08-11T23:33:58+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r14128 r14134 241 241 * The commands undo/redo handler. 242 242 * @since 12641 243 */ 244 public static volatile UndoRedoHandler undoRedo; 243 * @deprecated Use {@link UndoRedoHandler#getInstance} 244 */ 245 @Deprecated 246 public static final UndoRedoHandler undoRedo = UndoRedoHandler.getInstance(); 245 247 246 248 private static final LayerChangeListener undoRedoCleaner = new LayerChangeListener() { … … 360 362 public MainApplication(MainFrame mainFrame) { 361 363 this.mainFrame = mainFrame; 362 undoRedo = super.undoRedo;363 364 getLayerManager().addLayerChangeListener(undoRedoCleaner); 364 365 ProjectionRegistry.setboundsProvider(mainBoundsProvider);
Note:
See TracChangeset
for help on using the changeset viewer.
