Ignore:
Timestamp:
2016-03-27T19:26:23+02:00 (3 years ago)
Author:
Don-vip
Message:

see #11924 - remove deprecated code, reduce double precision in unit tests to avoid tiny differences with JDK9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/coor/LatLon.java

    r10033 r10060  
    458458
    459459    /**
    460      * Returns the value rounded to OSM precisions, i.e. to {@link LatLon#MAX_SERVER_PRECISION}.
     460     * Returns the value rounded to OSM precisions, i.e. to {@link #MAX_SERVER_PRECISION}.
    461461     * @param value lat/lon value
    462462     *
     
    468468
    469469    /**
    470      * Returns the value rounded to OSM precision. This function is now the same as
    471      * {@link #roundToOsmPrecision(double)}, since the rounding error has been fixed.
    472      * @param value lat/lon value
    473      *
    474      * @return rounded value
    475      * @deprecated Use {@link #roundToOsmPrecision(double)} instead
    476      */
    477     @Deprecated
    478     public static double roundToOsmPrecisionStrict(double value) {
    479         return roundToOsmPrecision(value);
    480     }
    481 
    482     /**
    483      * Replies a clone of this lat LatLon, rounded to OSM precisions, i.e. to
    484      * MAX_SERVER_PRECISION
     470     * Replies a clone of this lat LatLon, rounded to OSM precisions, i.e. to {@link #MAX_SERVER_PRECISION}
    485471     *
    486472     * @return a clone of this lat LatLon
     
    491477                roundToOsmPrecision(lon())
    492478                );
    493     }
    494 
    495     /**
    496      * Replies a clone of this lat LatLon, rounded to OSM precisions, i.e. to
    497      * MAX_SERVER_PRECISION
    498      *
    499      * @return a clone of this lat LatLon
    500      * @deprecated Use {@link #getRoundedToOsmPrecision()} instead
    501      */
    502     @Deprecated
    503     public LatLon getRoundedToOsmPrecisionStrict() {
    504         return getRoundedToOsmPrecision();
    505479    }
    506480
Note: See TracChangeset for help on using the changeset viewer.