Changeset 16568 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2020-06-07T22:46:54+02:00 (4 years ago)
Author:
simon04
Message:

see #19354 - UndoRedoHandler: make commands, redoCommands private

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/UndoRedoHandler.java

    r16567 r16568  
    2323
    2424    /**
    25      * All commands that were made on the dataset. Don't write from outside!
     25     * All commands that were made on the dataset
    2626     *
    2727     * @see #getLastCommand()
    2828     * @see #getUndoCommands()
    2929     */
    30     public final LinkedList<Command> commands = new LinkedList<>();
     30    private final LinkedList<Command> commands = new LinkedList<>();
    3131
    3232    /**
     
    3535     * @see #getRedoCommands()
    3636     */
    37     public final LinkedList<Command> redoCommands = new LinkedList<>();
     37    private final LinkedList<Command> redoCommands = new LinkedList<>();
    3838
    3939    private final LinkedList<CommandQueueListener> listenerCommands = new LinkedList<>();
Note: See TracChangeset for help on using the changeset viewer.