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/NavigatableComponent.java

    r8285 r8308  
    8888    }
    8989
    90     public Predicate<OsmPrimitive> isSelectablePredicate = new Predicate<OsmPrimitive>() {
     90    public transient Predicate<OsmPrimitive> isSelectablePredicate = new Predicate<OsmPrimitive>() {
    9191        @Override
    9292        public boolean evaluate(OsmPrimitive prim) {
     
    180180    protected EastNorth center = calculateDefaultCenter();
    181181
    182     private final Object paintRequestLock = new Object();
     182    private final transient Object paintRequestLock = new Object();
    183183    private Rectangle paintRect = null;
    184184    private Polygon paintPoly = null;
    185185
    186     protected ViewportData initialViewport;
     186    protected transient ViewportData initialViewport;
    187187
    188188    /**
Note: See TracChangeset for help on using the changeset viewer.