Changeset 1353 in josm for trunk/src/org/openstreetmap/josm/io/OsmServerReader.java
- Timestamp:
- 31.01.2009 19:09:46 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmServerReader.java
r1238 r1353 42 42 protected InputStream getInputStreamRaw(String urlStr, PleaseWaitDialog pleaseWaitDlg) throws IOException { 43 43 44 System.out.println("download: "+urlStr);44 // System.out.println("download: "+urlStr); 45 45 initAuthentication(); 46 46 URL url = new URL(urlStr); … … 55 55 56 56 activeConnection.setConnectTimeout(15000); 57 57 58 58 try { 59 59 activeConnection.connect(); … … 62 62 throw new IOException(tr("Couldn't connect to the osm server. Please check your internet connection.")); 63 63 } 64 64 65 65 if (isAuthCancelled() && activeConnection.getResponseCode() == 401) 66 66 return null;
Note: See TracChangeset
for help on using the changeset viewer.
