Changeset 14119 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2018-08-11T16:10:32+02:00 (16 months ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/OsmUrlToBounds.java
r12869 r14119 10 10 import java.util.function.Supplier; 11 11 12 import org.openstreetmap.josm.Main;13 12 import org.openstreetmap.josm.data.Bounds; 14 13 import org.openstreetmap.josm.data.coor.EastNorth; … … 17 16 import org.openstreetmap.josm.data.projection.Projection; 18 17 import org.openstreetmap.josm.data.projection.Projections; 18 import org.openstreetmap.josm.spi.preferences.Config; 19 19 20 20 /** … … 290 290 double lon = Math.round(dlon * decimals); 291 291 lon /= decimals; 292 return Main.getOSMWebsite() + "/#map="+zoom+'/'+lat+'/'+lon;292 return Config.getUrls().getOSMWebsite() + "/#map="+zoom+'/'+lat+'/'+lon; 293 293 } 294 294 } -
trunk/src/org/openstreetmap/josm/tools/WikiReader.java
r12846 r14119 6 6 import java.net.URL; 7 7 8 import org.openstreetmap.josm.Main;9 8 import org.openstreetmap.josm.spi.preferences.Config; 10 9 import org.openstreetmap.josm.tools.LanguageInfo.LocaleType; … … 31 30 */ 32 31 public WikiReader() { 33 this(Config.getPref().get("help.baseurl", Main.getJOSMWebsite()));32 this(Config.getPref().get("help.baseurl", Config.getUrls().getJOSMWebsite())); 34 33 } 35 34 -
trunk/src/org/openstreetmap/josm/tools/bugreport/BugReportSender.java
r13901 r14119 16 16 import javax.xml.xpath.XPathFactory; 17 17 18 import org.openstreetmap.josm. Main;18 import org.openstreetmap.josm.spi.preferences.Config; 19 19 import org.openstreetmap.josm.tools.HttpClient; 20 20 import org.openstreetmap.josm.tools.HttpClient.Response; … … 136 136 137 137 private static String getJOSMTicketURL() { 138 return Main.getJOSMWebsite() + "/josmticket";138 return Config.getUrls().getJOSMWebsite() + "/josmticket"; 139 139 } 140 140
Note: See TracChangeset
for help on using the changeset viewer.