Ignore:
Timestamp:
2015-10-09T02:12:45+02:00 (9 years ago)
Author:
Don-vip
Message:

sonar - squid:S3052 - Fields should not be initialized to default values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/cache/BufferedImageCacheEntry.java

    r8624 r8840  
    1717    private static final long serialVersionUID = 1L; //version
    1818    // transient to avoid serialization, volatile to avoid synchronization of whole getImage() method
    19     private transient volatile BufferedImage img = null;
    20     private transient volatile boolean writtenToDisk = false;
     19    private transient volatile BufferedImage img;
     20    private transient volatile boolean writtenToDisk;
    2121    // we need to have separate control variable, to know, if we already tried to load the image, as img might be null
    2222    // after we loaded image, as for example, when image file is malformed (eg. HTML file)
    23     private transient volatile boolean imageLoaded = false;
     23    private transient volatile boolean imageLoaded;
    2424
    2525    /**
Note: See TracChangeset for help on using the changeset viewer.