Changeset 6582 in josm for trunk/src/org/openstreetmap/josm/gui/oauth
- Timestamp:
- 2014-01-01T11:57:38+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/OsmOAuthAuthorizationClient.java
r6268 r6582 35 35 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 36 36 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 37 import org.openstreetmap.josm.io.OsmApi; 37 38 import org.openstreetmap.josm.io.OsmTransferCanceledException; 38 39 import org.openstreetmap.josm.tools.CheckParameterUtil; … … 61 62 */ 62 63 public OsmOAuthAuthorizationClient() { 63 oauthProviderParameters = OAuthParameters.createDefault(Main.pref.get("osm-server.url" ));64 oauthProviderParameters = OAuthParameters.createDefault(Main.pref.get("osm-server.url", OsmApi.DEFAULT_API_URL)); 64 65 consumer = oauthProviderParameters.buildConsumer(); 65 66 provider = oauthProviderParameters.buildProvider(consumer);
Note:
See TracChangeset
for help on using the changeset viewer.