Changeset 14119 in josm for trunk/src/org/openstreetmap/josm/data/oauth
- Timestamp:
- 2018-08-11T16:10:32+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java
r13173 r14119 4 4 import java.util.Objects; 5 5 6 import org.openstreetmap.josm.Main;7 6 import org.openstreetmap.josm.io.OsmApi; 8 7 import org.openstreetmap.josm.spi.preferences.Config; … … 56 55 } 57 56 58 if (apiUrl != null && ! OsmApi.DEFAULT_API_URL.equals(apiUrl)) {57 if (apiUrl != null && !Config.getUrls().getDefaultOsmApiUrl().equals(apiUrl)) { 59 58 consumerKey = ""; // a custom consumer key is required 60 59 consumerSecret = ""; // a custom consumer secret is requireds … … 63 62 consumerKey = DEFAULT_JOSM_CONSUMER_KEY; 64 63 consumerSecret = DEFAULT_JOSM_CONSUMER_SECRET; 65 serverUrl = Main.getOSMWebsite();64 serverUrl = Config.getUrls().getOSMWebsite(); 66 65 } 67 66
Note:
See TracChangeset
for help on using the changeset viewer.