Index: trunk/src/org/openstreetmap/josm/gui/oauth/AbstractAuthorizationUI.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/oauth/AbstractAuthorizationUI.java	(revision 8311)
+++ trunk/src/org/openstreetmap/josm/gui/oauth/AbstractAuthorizationUI.java	(revision 8312)
@@ -7,6 +7,4 @@
 import org.openstreetmap.josm.gui.widgets.VerticallyScrollablePanel;
 import org.openstreetmap.josm.tools.CheckParameterUtil;
-
-import com.sun.org.apache.xerces.internal.utils.Objects;
 
 /**
@@ -23,5 +21,5 @@
     private String apiUrl;
     private final AdvancedOAuthPropertiesPanel pnlAdvancedProperties;
-    private transient OAuthToken accessToken;
+    private OAuthToken accessToken;
 
     protected void fireAccessTokenChanged(OAuthToken oldValue, OAuthToken newValue) {
@@ -101,5 +99,5 @@
         } else if (oldValue == null && this.accessToken == null) {
             // no change - don't fire an event
-        } else if (!Objects.equals(oldValue, this.accessToken)) {
+        } else if (! oldValue.equals(this.accessToken)) {
             fireAccessTokenChanged(oldValue, this.accessToken);
         }
