Changeset 8312 in josm for trunk/src/org
- Timestamp:
- 2015-05-02T15:38:29+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/AbstractAuthorizationUI.java
r8308 r8312 7 7 import org.openstreetmap.josm.gui.widgets.VerticallyScrollablePanel; 8 8 import org.openstreetmap.josm.tools.CheckParameterUtil; 9 10 import com.sun.org.apache.xerces.internal.utils.Objects;11 9 12 10 /** … … 23 21 private String apiUrl; 24 22 private final AdvancedOAuthPropertiesPanel pnlAdvancedProperties; 25 private transientOAuthToken accessToken;23 private OAuthToken accessToken; 26 24 27 25 protected void fireAccessTokenChanged(OAuthToken oldValue, OAuthToken newValue) { … … 101 99 } else if (oldValue == null && this.accessToken == null) { 102 100 // no change - don't fire an event 103 } else if (! Objects.equals(oldValue,this.accessToken)) {101 } else if (! oldValue.equals(this.accessToken)) { 104 102 fireAccessTokenChanged(oldValue, this.accessToken); 105 103 }
Note:
See TracChangeset
for help on using the changeset viewer.