Ignore:
Timestamp:
2010-05-05T02:54:20+02:00 (14 years ago)
Author:
nakor
Message:

Revert unwanted commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/DuplicateNode.java

    r21127 r21128  
    8787        public void visit(Node n) {
    8888                if (n.isUsable()) {
    89                         //LatLon rounded = n.getCoor().getRoundedToOsmPrecision();
    90                   LatLon ori=n.getCoor();
    91                   double precision = 10e-7;
    92                         LatLon rounded = new LatLon(
    93                 Math.round(ori.lat() / precision) * precision,
    94                 Math.round(ori.lon() / precision) * precision
    95                 );
    96 
     89                        LatLon rounded = n.getCoor().getRoundedToOsmPrecision();
    9790                        if (potentialDuplicates.get(rounded) == null) {
    9891                                // in most cases there is just one node at a given position. We
Note: See TracChangeset for help on using the changeset viewer.