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/preferences/imagery/AddWMSLayerPanel.java

    r7312 r8308  
    3636public class AddWMSLayerPanel extends AddImageryPanel {
    3737
    38     private final WMSImagery wms = new WMSImagery();
     38    private final transient WMSImagery wms = new WMSImagery();
    3939    private final JCheckBox endpoint = new JCheckBox(tr("Store WMS endpoint only, select layers at usage"));
    40     private final WMSLayerTree tree = new WMSLayerTree();
     40    private final transient WMSLayerTree tree = new WMSLayerTree();
    4141    private final JComboBox<String> formats = new JComboBox<>();
    4242    private final JLabel wmsInstruction;
Note: See TracChangeset for help on using the changeset viewer.