Changeset 33870 in osm for applications/editors


Ignore:
Timestamp:
2017-11-22T00:33:36+01:00 (7 years ago)
Author:
donvip
Message:

update to JOSM 12840

Location:
applications/editors/josm/plugins/sds
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/sds/build.xml

    r33589 r33870  
    55    <property name="commit.message" value=""/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="12810"/>
     7    <property name="plugin.main.version" value="12840"/>
    88
    99    <!--
  • applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsApi.java

    r33589 r33870  
    296296     */
    297297    protected int getMaxRetries() {
    298         int ret = Main.pref.getInteger("osm-server.max-num-retries", DEFAULT_MAX_NUM_RETRIES);
     298        int ret = Main.pref.getInt("osm-server.max-num-retries", DEFAULT_MAX_NUM_RETRIES);
    299299        return Math.max(ret, 0);
    300300    }
     
    348348                System.out.print(requestMethod + " " + url + "... ");
    349349                activeConnection = (HttpURLConnection) url.openConnection();
    350                 activeConnection.setConnectTimeout(fastFail ? 1000 : Main.pref.getInteger("socket.timeout.connect", 15)*1000);
     350                activeConnection.setConnectTimeout(fastFail ? 1000 : Main.pref.getInt("socket.timeout.connect", 15)*1000);
    351351                activeConnection.setRequestMethod(requestMethod);
    352352                if (doAuthenticate) {
     
    475475            }
    476476
    477             activeConnection.setConnectTimeout(Main.pref.getInteger("socket.timeout.connect", 15)*1000);
     477            activeConnection.setConnectTimeout(Main.pref.getInt("socket.timeout.connect", 15)*1000);
    478478
    479479            try {
Note: See TracChangeset for help on using the changeset viewer.