Ignore:
Timestamp:
2016-03-27T19:09:27+02:00 (8 years ago)
Author:
donvip
Message:

remove call to deprecated method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/datasets/AbstractDataSetHandler.java

    r30723 r32125  
    253253    public final Collection<String> getOsmXapiRequests(Bounds bounds) {
    254254        return getOsmXapiRequests(
    255                 LatLon.roundToOsmPrecisionStrict(bounds.getMin().lon())+","+
    256                 LatLon.roundToOsmPrecisionStrict(bounds.getMin().lat())+","+
    257                 LatLon.roundToOsmPrecisionStrict(bounds.getMax().lon())+","+
    258                 LatLon.roundToOsmPrecisionStrict(bounds.getMax().lat()));
     255                LatLon.roundToOsmPrecision(bounds.getMin().lon())+","+
     256                LatLon.roundToOsmPrecision(bounds.getMin().lat())+","+
     257                LatLon.roundToOsmPrecision(bounds.getMax().lon())+","+
     258                LatLon.roundToOsmPrecision(bounds.getMax().lat()));
    259259    }
    260260   
     
    263263    public final String getOverpassApiRequest(Bounds bounds) {
    264264        return getOverpassApiRequest(
    265                 "w=\""+LatLon.roundToOsmPrecisionStrict(bounds.getMin().lon())+"\" "+
    266                 "s=\""+LatLon.roundToOsmPrecisionStrict(bounds.getMin().lat())+"\" "+
    267                 "e=\""+LatLon.roundToOsmPrecisionStrict(bounds.getMax().lon())+"\" "+
    268                 "n=\""+LatLon.roundToOsmPrecisionStrict(bounds.getMax().lat())+"\"");
    269     }
    270 
     265                "w=\""+LatLon.roundToOsmPrecision(bounds.getMin().lon())+"\" "+
     266                "s=\""+LatLon.roundToOsmPrecision(bounds.getMin().lat())+"\" "+
     267                "e=\""+LatLon.roundToOsmPrecision(bounds.getMax().lon())+"\" "+
     268                "n=\""+LatLon.roundToOsmPrecision(bounds.getMax().lat())+"\"");
     269    }
    271270
    272271    protected String getOverpassApiRequest(String bbox) {return null;}
Note: See TracChangeset for help on using the changeset viewer.