Changeset 9623 in josm


Ignore:
Timestamp:
2016-01-25T01:47:07+01:00 (4 years ago)
Author:
Don-vip
Message:

fix transient/serializable findbugs warnings

Location:
trunk/src/org/openstreetmap/josm
Files:
14 edited

Legend:

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

    r9371 r9623  
    5555public class JoinAreasAction extends JosmAction {
    5656    // This will be used to commit commands and unite them into one large command sequence at the end
    57     private final LinkedList<Command> cmds = new LinkedList<>();
     57    private final transient LinkedList<Command> cmds = new LinkedList<>();
    5858    private int cmdsCount;
    5959    private final transient List<Relation> addedRelations = new LinkedList<>();
  • trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java

    r9572 r9623  
    101101     * Collection of nodes that is moved
    102102     */
    103     private List<Node> movingNodeList;
     103    private transient List<Node> movingNodeList;
    104104
    105105    /**
  • trunk/src/org/openstreetmap/josm/data/osm/MultipolygonBuilder.java

    r9487 r9623  
    308308    private static class Worker extends RecursiveTask<List<PolygonLevel>> {
    309309
    310         private final List<JoinedPolygon> input;
     310        private final transient List<JoinedPolygon> input;
    311311        private final int from;
    312312        private final int to;
    313         private final List<PolygonLevel> output;
     313        private final transient List<PolygonLevel> output;
    314314        private final int directExecutionTaskSize;
    315315
  • trunk/src/org/openstreetmap/josm/gui/MapView.java

    r9532 r9623  
    11841184    }
    11851185
    1186     private final CopyOnWriteArrayList<RepaintListener> repaintListeners = new CopyOnWriteArrayList<>();
     1186    private final transient CopyOnWriteArrayList<RepaintListener> repaintListeners = new CopyOnWriteArrayList<>();
    11871187
    11881188    /**
  • trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java

    r9419 r9623  
    318318        return pb;
    319319    }
    320    
     320
    321321    /**
    322322     * @param r rectangle
     
    605605    }
    606606
    607     private final Stack<ZoomData> zoomUndoBuffer = new Stack<>();
    608     private final Stack<ZoomData> zoomRedoBuffer = new Stack<>();
     607    private final transient Stack<ZoomData> zoomUndoBuffer = new Stack<>();
     608    private final transient Stack<ZoomData> zoomRedoBuffer = new Stack<>();
    609609    private Date zoomTimestamp = new Date();
    610610
  • trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapBBoxChooser.java

    r9078 r9623  
    127127
    128128    // upper left and lower right corners of the selection rectangle (x/y on ZOOM_MAX)
    129     private ICoordinate iSelectionRectStart;
    130     private ICoordinate iSelectionRectEnd;
     129    private transient ICoordinate iSelectionRectStart;
     130    private transient ICoordinate iSelectionRectEnd;
    131131
    132132    /**
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java

    r9592 r9623  
    139139    private final ReadOnlyTableModel tagData = new ReadOnlyTableModel();
    140140    private final PropertiesCellRenderer cellRenderer = new PropertiesCellRenderer();
    141     private final TableRowSorter<ReadOnlyTableModel> tagRowSorter = new TableRowSorter<>(tagData);
     141    private final transient TableRowSorter<ReadOnlyTableModel> tagRowSorter = new TableRowSorter<>(tagData);
    142142    private final JosmTextField tagTableFilter;
    143143
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java

    r9588 r9623  
    5454    private final transient List<RelationMember> members;
    5555    private transient List<WayConnectionType> connectionType;
    56     private final Relation relation;
     56    private final transient Relation relation;
    5757
    5858    private DefaultListSelectionModel listSelectionModel;
    59     private final CopyOnWriteArrayList<IMemberModelListener> listeners;
     59    private final transient CopyOnWriteArrayList<IMemberModelListener> listeners;
    6060    private final transient OsmDataLayer layer;
    6161    private final transient TaggingPresetHandler presetHandler;
  • trunk/src/org/openstreetmap/josm/gui/oauth/FullyAutomaticAuthorizationUI.java

    r9355 r9623  
    6868    private JPanel pnlActionButtonsPanel;
    6969    private JPanel pnlResult;
    70     private final Executor executor;
     70    private final transient Executor executor;
    7171
    7272    /**
  • trunk/src/org/openstreetmap/josm/gui/oauth/ManualAuthorizationUI.java

    r9352 r9623  
    4747    private JCheckBox cbSaveToPreferences;
    4848    private HtmlPanel pnlMessage;
    49     private final Executor executor;
     49    private final transient Executor executor;
    5050
    5151    protected JPanel buildAccessTokenPanel() {
  • trunk/src/org/openstreetmap/josm/gui/oauth/SemiAutomaticAuthorizationUI.java

    r9352 r9623  
    4747    private RetrieveAccessTokenPanel pnlRetrieveAccessToken;
    4848    private ShowAccessTokenPanel pnlShowAccessToken;
    49     private final Executor executor;
    50    
     49    private final transient Executor executor;
     50
    5151    /**
    5252     * build the UI
  • trunk/src/org/openstreetmap/josm/gui/preferences/server/OsmApiUrlInputPanel.java

    r9485 r9623  
    5656    /** indicates whether to use the default OSM URL or not */
    5757    private JCheckBox cbUseDefaultServerUrl;
    58     private final CollectionProperty SERVER_URL_HISTORY = new CollectionProperty("osm-server.url-history", Arrays.asList(
     58    private final transient CollectionProperty SERVER_URL_HISTORY = new CollectionProperty("osm-server.url-history", Arrays.asList(
    5959            "http://api06.dev.openstreetmap.org/api", "http://master.apis.dev.openstreetmap.org/api"));
    6060
  • trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java

    r9588 r9623  
    4646    private final DefaultListSelectionModel colSelectionModel;
    4747
    48     private OsmPrimitive primitive;
     48    private transient OsmPrimitive primitive;
    4949
    5050    /**
  • trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPreset.java

    r9467 r9623  
    9797     */
    9898    public Set<TaggingPresetType> types;
    99     public final List<TaggingPresetItem> data = new LinkedList<>();
     99    public final transient List<TaggingPresetItem> data = new LinkedList<>();
    100100    public transient Roles roles;
    101101    public transient TemplateEntry nameTemplate;
Note: See TracChangeset for help on using the changeset viewer.