Changeset 8313 in josm
- Timestamp:
- 2015-05-02T19:29:16+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/cache/CacheEntryAttributes.java
r8308 r8313 15 15 public class CacheEntryAttributes extends ElementAttributes { 16 16 private static final long serialVersionUID = 1L; //version 17 private transientMap<String, String> attrs = new HashMap<String, String>();17 private Map<String, String> attrs = new HashMap<String, String>(); 18 18 private final static String NO_TILE_AT_ZOOM = "noTileAtZoom"; 19 19 private final static String ETAG = "Etag"; … … 21 21 private final static String EXPIRATION_TIME = "expirationTime"; 22 22 23 /** 24 * Constructs a new {@code CacheEntryAttributes}. 25 */ 23 26 public CacheEntryAttributes() { 24 27 super(); -
trunk/src/org/openstreetmap/josm/gui/oauth/AbstractAuthorizationUI.java
r8312 r8313 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.gui.oauth; 3 4 import java.util.Objects; 3 5 4 6 import org.openstreetmap.josm.data.Preferences; … … 21 23 private String apiUrl; 22 24 private final AdvancedOAuthPropertiesPanel pnlAdvancedProperties; 23 private OAuthToken accessToken; 25 private transient OAuthToken accessToken; 24 26 25 27 protected void fireAccessTokenChanged(OAuthToken oldValue, OAuthToken newValue) { … … 99 101 } else if (oldValue == null && this.accessToken == null) { 100 102 // no change - don't fire an event 101 } else if (! .equals(this.accessToken)) {103 } else if (!Objects.equals(oldValue, this.accessToken)) { 102 104 fireAccessTokenChanged(oldValue, this.accessToken); 103 105 }
Note:
See TracChangeset
for help on using the changeset viewer.