Changeset 33870 in osm for applications/editors/josm
- Timestamp:
- 2017-11-22T00:33:36+01:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/sds
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/sds/build.xml
r33589 r33870 5 5 <property name="commit.message" value=""/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="128 10"/>7 <property name="plugin.main.version" value="12840"/> 8 8 9 9 <!-- -
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.