Changeset 10183 in josm for trunk/src/org/openstreetmap/josm/gui/oauth/SemiAutomaticAuthorizationUI.java
- Timestamp:
- 2016-05-11T05:02:01+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/SemiAutomaticAuthorizationUI.java
r10073 r10183 41 41 */ 42 42 public class SemiAutomaticAuthorizationUI extends AbstractAuthorizationUI { 43 private AccessTokenInfoPanel pnlAccessTokenInfo;43 private final AccessTokenInfoPanel pnlAccessTokenInfo = new AccessTokenInfoPanel(); 44 44 private transient OAuthToken requestToken; 45 45 … … 217 217 private class RetrieveAccessTokenPanel extends JPanel { 218 218 219 private JosmTextField tfAuthoriseUrl;219 private final JosmTextField tfAuthoriseUrl = new JosmTextField(); 220 220 221 221 /** … … 261 261 gc.gridx = 1; 262 262 gc.weightx = 1.0; 263 pnl.add(tfAuthoriseUrl = new JosmTextField(), gc);263 pnl.add(tfAuthoriseUrl, gc); 264 264 tfAuthoriseUrl.setEditable(false); 265 265 … … 340 340 gc.weightx = 1.0; 341 341 gc.gridwidth = 1; 342 pnl.add(pnlAccessTokenInfo = new AccessTokenInfoPanel(), gc);342 pnl.add(pnlAccessTokenInfo, gc); 343 343 pnlAccessTokenInfo.setSaveToPreferences( 344 344 OAuthAccessTokenHolder.getInstance().isSaveToPreferences()
Note:
See TracChangeset
for help on using the changeset viewer.