Ignore:
Timestamp:
2020-06-14T17:17:08+02:00 (4 years ago)
Author:
simon04
Message:

see #19334 - https://errorprone.info/bugpattern/UnnecessaryParentheses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/proj/Mercator.java

    r12013 r16630  
    8484            final double lat0 = Utils.toRadians(params.lat0);
    8585            final double sinPhi = Math.sin(lat0);
    86             scaleFactor *= (Math.cos(lat0) / (Math.sqrt(1 - e2 * sinPhi * sinPhi)));
     86            scaleFactor *= Math.cos(lat0) / Math.sqrt(1 - e2 * sinPhi * sinPhi);
    8787        }
    8888    }
Note: See TracChangeset for help on using the changeset viewer.