Changeset 6847 in josm for trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java
- Timestamp:
- 2014-02-12T20:52:31+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java
r6599 r6847 235 235 } 236 236 237 /**238 * Saves these OAuth parameters to the given {@code Preferences}.239 * @param pref The Preferences into which are saved these OAuth parameters with the prefix "oauth.settings"240 */241 public void saveToPreferences(Preferences pref) {242 pref.put("oauth.settings.consumer-key", consumerKey);243 pref.put("oauth.settings.consumer-secret", consumerSecret);244 pref.put("oauth.settings.request-token-url", requestTokenUrl);245 pref.put("oauth.settings.access-token-url", accessTokenUrl);246 pref.put("oauth.settings.authorise-url", authoriseUrl);247 }248 249 237 @Override 250 238 public int hashCode() {
Note:
See TracChangeset
for help on using the changeset viewer.