Changeset 5587 in josm for trunk/src/org/openstreetmap/josm/gui/download
- Timestamp:
- 2012-11-18T00:44:10+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/PlaceSelection.java
r5429 r5587 56 56 import org.openstreetmap.josm.tools.ImageProvider; 57 57 import org.openstreetmap.josm.tools.OsmUrlToBounds; 58 import org.openstreetmap.josm.tools.Utils; 58 59 import org.xml.sax.Attributes; 59 60 import org.xml.sax.InputSource; … … 362 363 URL url = new URL(urlString); 363 364 synchronized(this) { 364 connection = (HttpURLConnection)url.openConnection();365 connection = Utils.openHttpConnection(url); 365 366 } 366 367 connection.setConnectTimeout(Main.pref.getInteger("socket.timeout.connect",15)*1000);
Note:
See TracChangeset
for help on using the changeset viewer.
