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/data/cache/CacheEntryAttributes.java

    r8168 r8308  
    99/**
    1010 * Class that contains attirubtes for JCS cache entries. Parameters are used to properly handle HTTP caching
    11  * 
     11 *
    1212 * @author Wiktor Niesiobędzki
    1313 *
     
    1515public class CacheEntryAttributes extends ElementAttributes {
    1616    private static final long serialVersionUID = 1L; //version
    17     private Map<String, String> attrs = new HashMap<String, String>();
     17    private transient Map<String, String> attrs = new HashMap<String, String>();
    1818    private final static String NO_TILE_AT_ZOOM = "noTileAtZoom";
    1919    private final static String ETAG = "Etag";
Note: See TracChangeset for help on using the changeset viewer.