Ignore:
Timestamp:
2016-11-17T22:45:25+01:00 (7 years ago)
Author:
Don-vip
Message:

sonar - fix recently added warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/PurgeAction.java

    r11252 r11277  
    5858public class PurgeAction extends JosmAction {
    5959
     60    protected transient OsmDataLayer layer;
     61    protected JCheckBox cbClearUndoRedo;
     62    protected boolean modified;
     63
     64    protected transient Set<OsmPrimitive> toPurge;
     65    /**
     66     * finally, contains all objects that are purged
     67     */
     68    protected transient Set<OsmPrimitive> toPurgeChecked;
     69    /**
     70     * Subset of toPurgeChecked. Marks primitives that remain in the
     71     * dataset, but incomplete.
     72     */
     73    protected transient Set<OsmPrimitive> makeIncomplete;
     74    /**
     75     * Subset of toPurgeChecked. Those that have not been in the selection.
     76     */
     77    protected transient List<OsmPrimitive> toPurgeAdditionally;
     78
    6079    /**
    6180     * Constructs a new {@code PurgeAction}.
     
    6988        putValue("help", HelpUtil.ht("/Action/Purge"));
    7089    }
    71 
    72     protected transient OsmDataLayer layer;
    73     protected JCheckBox cbClearUndoRedo;
    74     protected boolean modified;
    75 
    76     protected transient Set<OsmPrimitive> toPurge;
    77     /**
    78      * finally, contains all objects that are purged
    79      */
    80     protected transient Set<OsmPrimitive> toPurgeChecked;
    81     /**
    82      * Subset of toPurgeChecked. Marks primitives that remain in the
    83      * dataset, but incomplete.
    84      */
    85     protected transient Set<OsmPrimitive> makeIncomplete;
    86     /**
    87      * Subset of toPurgeChecked. Those that have not been in the selection.
    88      */
    89     protected transient List<OsmPrimitive> toPurgeAdditionally;
    9090
    9191    @Override
Note: See TracChangeset for help on using the changeset viewer.