Ignore:
Timestamp:
2015-05-02T00:55:19+02:00 (9 years ago)
Author:
Don-vip
Message:

fix potential NPEs and Sonar issues related to serialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/CommandStackDialog.java

    r8285 r8308  
    6363    private final JTree redoTree = new JTree(redoTreeModel);
    6464
    65     private UndoRedoSelectionListener undoSelectionListener;
    66     private UndoRedoSelectionListener redoSelectionListener;
     65    private transient UndoRedoSelectionListener undoSelectionListener;
     66    private transient UndoRedoSelectionListener redoSelectionListener;
    6767
    6868    private JScrollPane scrollPane;
     
    246246     * Simple listener setup to update the button enabled state when the side dialog shows.
    247247     */
    248     private Set<IEnabledStateUpdating> showNotifyListener = new LinkedHashSet<>();
     248    private transient Set<IEnabledStateUpdating> showNotifyListener = new LinkedHashSet<>();
    249249
    250250    private void addShowNotifyListener(IEnabledStateUpdating listener) {
Note: See TracChangeset for help on using the changeset viewer.