Ignore:
Timestamp:
2014-01-01T11:57:38+01:00 (6 years ago)
Author:
bastiK
Message:

fixed #9505 - Defaults for osm-server.url differ = !null

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java

    r6453 r6582  
    9191     */
    9292    static public OAuthParameters createFromPreferences(Preferences pref) {
    93         OAuthParameters parameters = createDefault(pref.get("osm-server.url"));
     93        OAuthParameters parameters = createDefault(pref.get("osm-server.url", OsmApi.DEFAULT_API_URL));
    9494        parameters.setConsumerKey(pref.get("oauth.settings.consumer-key", parameters.getConsumerKey()));
    9595        parameters.setConsumerSecret(pref.get("oauth.settings.consumer-secret", parameters.getConsumerSecret()));
Note: See TracChangeset for help on using the changeset viewer.