Changeset 8308 in josm for trunk/src/org/openstreetmap/josm/gui/oauth
- Timestamp:
- 2015-05-02T00:55:19+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/oauth
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/AbstractAuthorizationUI.java
r8291 r8308 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; 9 11 10 12 /** … … 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 } -
trunk/src/org/openstreetmap/josm/gui/oauth/AdvancedOAuthPropertiesPanel.java
r8291 r8308 48 48 private JosmTextField tfAccessTokenURL; 49 49 private JosmTextField tfAuthoriseURL; 50 private UseDefaultItemListener ilUseDefault; 50 private transient UseDefaultItemListener ilUseDefault; 51 51 private String apiUrl; 52 52 -
trunk/src/org/openstreetmap/josm/gui/oauth/FullyAutomaticAuthorizationUI.java
r7771 r8308 60 60 private JosmTextField tfUserName; 61 61 private JosmPasswordField tfPassword; 62 private UserNameValidator valUserName; 63 private PasswordValidator valPassword; 62 private transient UserNameValidator valUserName; 63 private transient PasswordValidator valPassword; 64 64 private AccessTokenInfoPanel pnlAccessTokenInfo; 65 65 private OsmPrivilegesPanel pnlOsmPrivileges; -
trunk/src/org/openstreetmap/josm/gui/oauth/ManualAuthorizationUI.java
r8291 r8308 42 42 43 43 private JosmTextField tfAccessTokenKey; 44 private AccessTokenKeyValidator valAccessTokenKey; 44 private transient AccessTokenKeyValidator valAccessTokenKey; 45 45 private JosmTextField tfAccessTokenSecret; 46 private AccessTokenSecretValidator valAccessTokenSecret; 46 private transient AccessTokenSecretValidator valAccessTokenSecret; 47 47 private JCheckBox cbSaveToPreferences; 48 48 private HtmlPanel pnlMessage; -
trunk/src/org/openstreetmap/josm/gui/oauth/OAuthAuthorizationWizard.java
r8291 r8308 333 333 334 334 class AcceptAccessTokenAction extends AbstractAction implements PropertyChangeListener { 335 private OAuthToken token; 335 private transient OAuthToken token; 336 336 337 337 public AcceptAccessTokenAction() { -
trunk/src/org/openstreetmap/josm/gui/oauth/SemiAutomaticAuthorizationUI.java
r6890 r8308 28 28 import org.openstreetmap.josm.gui.widgets.HtmlPanel; 29 29 import org.openstreetmap.josm.gui.widgets.JMultilineLabel; 30 import org.openstreetmap.josm.gui.widgets.JosmTextField; 30 31 import org.openstreetmap.josm.tools.ImageProvider; 31 32 import org.openstreetmap.josm.tools.OpenBrowser; 32 import org.openstreetmap.josm.gui.widgets.JosmTextField;33 33 34 34 /** … … 42 42 public class SemiAutomaticAuthorizationUI extends AbstractAuthorizationUI { 43 43 private AccessTokenInfoPanel pnlAccessTokenInfo; 44 private OAuthToken requestToken; 44 private transient OAuthToken requestToken; 45 45 46 46 private RetrieveRequestTokenPanel pnlRetrieveRequestToken;
Note:
See TracChangeset
for help on using the changeset viewer.