Changeset 12015 in josm


Ignore:
Timestamp:
2017-04-28T19:49:13+02:00 (8 years ago)
Author:
Don-vip
Message:

see #11889 - fix javadoc warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r12013 r12015  
    9393    private static final String[] SIZE_UNITS = {"B", "kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"};
    9494
     95    // Constants backported from Java 9, see https://bugs.openjdk.java.net/browse/JDK-4477961
    9596    private static final double TO_DEGREES = 180.0 / Math.PI;
    9697    private static final double TO_RADIANS = Math.PI / 180.0;
     
    15621563     * version of that method. (Can be removed when JOSM support for Java 8 ends.)
    15631564     * Only relevant in relation to ProjectionRegressionTest.
    1564      * @see https://josm.openstreetmap.de/ticket/11889
    15651565     * @param angleRad an angle in radians
    15661566     * @return the same angle in degrees
     1567     * @see <a href="https://josm.openstreetmap.de/ticket/11889">#11889</a>
     1568     * @since 12013
    15671569     */
    15681570    public static double toDegrees(double angleRad) {
     
    15761578     * version of that method. (Can be removed when JOSM support for Java 8 ends.)
    15771579     * Only relevant in relation to ProjectionRegressionTest.
    1578      * @see https://josm.openstreetmap.de/ticket/11889
    15791580     * @param angleDeg an angle in degrees
    15801581     * @return the same angle in radians
     1582     * @see <a href="https://josm.openstreetmap.de/ticket/11889">#11889</a>
     1583     * @since 12013
    15811584     */
    15821585    public static double toRadians(double angleDeg) {
Note: See TracChangeset for help on using the changeset viewer.