- Timestamp:
- 2016-05-11T16:38:03+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/oauth
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/AbstractAuthorizationUI.java
r8313 r10189 22 22 23 23 private String apiUrl; 24 private final AdvancedOAuthPropertiesPanel pnlAdvancedProperties ;24 private final AdvancedOAuthPropertiesPanel pnlAdvancedProperties = new AdvancedOAuthPropertiesPanel(); 25 25 private transient OAuthToken accessToken; 26 26 27 protected void fireAccessTokenChanged(OAuthToken oldValue, OAuthToken newValue) { 28 firePropertyChange(ACCESS_TOKEN_PROP, oldValue, newValue); 27 /** 28 * Constructs a new {@code AbstractAuthorizationUI} without API URL. 29 * @since 10189 30 */ 31 public AbstractAuthorizationUI() { 29 32 } 30 33 … … 35 38 */ 36 39 public AbstractAuthorizationUI(String apiUrl) { 37 pnlAdvancedProperties = new AdvancedOAuthPropertiesPanel();38 40 setApiUrl(apiUrl); 41 } 42 43 protected void fireAccessTokenChanged(OAuthToken oldValue, OAuthToken newValue) { 44 firePropertyChange(ACCESS_TOKEN_PROP, oldValue, newValue); 39 45 } 40 46 -
trunk/src/org/openstreetmap/josm/gui/oauth/ManualAuthorizationUI.java
r10183 r10189 55 55 */ 56 56 public ManualAuthorizationUI(String apiUrl, Executor executor) { 57 super(apiUrl); 57 super(/* dont pass apiURL because setApiUrl is overriden and references a local field */); 58 setApiUrl(apiUrl); 58 59 this.executor = executor; 59 60 build();
Note:
See TracChangeset
for help on using the changeset viewer.