Changeset 32128 in osm for applications/editors


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

remove call to deprecated method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfReader.java

    r30737 r32128  
    124124                        Node node = new Node(nodeId+=nodes.getId(i), nodes.getDenseinfo().getVersion(i));
    125125                        // Lat/Lon (delta)
    126                         node.setCoor(new LatLon(parseLat(nodeLat+=nodes.getLat(i)), parseLon(nodeLon+=nodes.getLon(i))).getRoundedToOsmPrecisionStrict());
     126                        node.setCoor(new LatLon(parseLat(nodeLat+=nodes.getLat(i)), parseLon(nodeLon+=nodes.getLon(i))).getRoundedToOsmPrecision());
    127127                        checkCoordinates(node.getCoor());
    128128                        // Changeset (delta)
     
    165165                        final Info info = n.getInfo();
    166166                        final Node node = new Node(n.getId(), info.getVersion());
    167                         node.setCoor(new LatLon(parseLat(n.getLat()), parseLon(n.getLon())).getRoundedToOsmPrecisionStrict());
     167                        node.setCoor(new LatLon(parseLat(n.getLat()), parseLon(n.getLon())).getRoundedToOsmPrecision());
    168168                        checkCoordinates(node.getCoor());
    169169                        checkChangesetId(info.getChangeset());
Note: See TracChangeset for help on using the changeset viewer.