Changeset 15009 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2019-04-21T14:43:04+02:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java
r14119 r15009 4 4 import java.util.Objects; 5 5 6 import org.openstreetmap.josm.io.OsmApi;7 6 import org.openstreetmap.josm.spi.preferences.Config; 7 import org.openstreetmap.josm.spi.preferences.IUrls; 8 8 import org.openstreetmap.josm.tools.CheckParameterUtil; 9 9 import org.openstreetmap.josm.tools.Utils; … … 29 29 /** 30 30 * Replies a set of default parameters for a consumer accessing the standard OSM server 31 * at {@link OsmApi#DEFAULT_API_URL}.31 * at {@link IUrls#getDefaultOsmApiUrl}. 32 32 * 33 33 * @return a set of default parameters … … 39 39 /** 40 40 * Replies a set of default parameters for a consumer accessing an OSM server 41 * at the given API url. URL parameters are only set if the URL equals {@link OsmApi#DEFAULT_API_URL}41 * at the given API url. URL parameters are only set if the URL equals {@link IUrls#getDefaultOsmApiUrl} 42 42 * or references the domain "dev.openstreetmap.org", otherwise they may be <code>null</code>. 43 43 * -
trunk/src/org/openstreetmap/josm/gui/preferences/server/OsmApiUrlInputPanel.java
r14119 r15009 37 37 import org.openstreetmap.josm.io.OsmTransferCanceledException; 38 38 import org.openstreetmap.josm.spi.preferences.Config; 39 import org.openstreetmap.josm.spi.preferences.IUrls; 39 40 import org.openstreetmap.josm.tools.ImageProvider; 40 41 import org.openstreetmap.josm.tools.Logging; … … 167 168 * Returns the entered API URL, stripped of leading and trailing white characters. 168 169 * @return the entered API URL, stripped of leading and trailing white characters. 169 * May be an empty string if nothing has been entered. In this case, it means the user wants to use {@link OsmApi#DEFAULT_API_URL}.170 * May be an empty string if nothing has been entered. In this case, it means the user wants to use {@link IUrls#getDefaultOsmApiUrl}. 170 171 * @see Utils#strip(String) 171 172 * @since 6602
Note:
See TracChangeset
for help on using the changeset viewer.