Changeset 33870 in osm for applications/editors/josm/plugins/sds/src/org
- Timestamp:
- 2017-11-22T00:33:36+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsApi.java
r33589 r33870 296 296 */ 297 297 protected int getMaxRetries() { 298 int ret = Main.pref.getInt eger("osm-server.max-num-retries", DEFAULT_MAX_NUM_RETRIES);298 int ret = Main.pref.getInt("osm-server.max-num-retries", DEFAULT_MAX_NUM_RETRIES); 299 299 return Math.max(ret, 0); 300 300 } … … 348 348 System.out.print(requestMethod + " " + url + "... "); 349 349 activeConnection = (HttpURLConnection) url.openConnection(); 350 activeConnection.setConnectTimeout(fastFail ? 1000 : Main.pref.getInt eger("socket.timeout.connect", 15)*1000);350 activeConnection.setConnectTimeout(fastFail ? 1000 : Main.pref.getInt("socket.timeout.connect", 15)*1000); 351 351 activeConnection.setRequestMethod(requestMethod); 352 352 if (doAuthenticate) { … … 475 475 } 476 476 477 activeConnection.setConnectTimeout(Main.pref.getInt eger("socket.timeout.connect", 15)*1000);477 activeConnection.setConnectTimeout(Main.pref.getInt("socket.timeout.connect", 15)*1000); 478 478 479 479 try {
Note:
See TracChangeset
for help on using the changeset viewer.