Ignore:
Timestamp:
2016-09-03T12:37:39+02:00 (3 years ago)
Author:
Don-vip
Message:

sonar - squid:S1450 - Private fields only used as local variables in methods should become local variables

File:
1 edited

Legend:

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

    r10378 r10938  
    159159     * Constants used in the transformation.
    160160     */
    161     private double b, a, e;
    162 
    163     /**
    164      * Convenience value equal to {@link #a} / {@link #b}.
     161    private double b, e;
     162
     163    /**
     164     * Convenience value equal to {@code a} / {@link #b}.
    165165     */
    166166    private double arb;
    167167
    168168    /**
    169      * Convenience value equal to {@link #a}×{@link #b}.
     169     * Convenience value equal to {@code a}×{@link #b}.
    170170     */
    171171    private double ab;
    172172
    173173    /**
    174      * Convenience value equal to {@link #b} / {@link #a}.
     174     * Convenience value equal to {@link #b} / {@code a}.
    175175     */
    176176    private double bra;
     
    237237        double temp = cosph0 * cosph0;
    238238        b = Math.sqrt(1.0 + e2 * (temp * temp) / (1.0 - e2));
    239         a = b * com / con;
     239        double a = b * com / con;
    240240        final double d = b * com / (cosph0 * Math.sqrt(con));
    241241        double f = d * d - 1.0;
Note: See TracChangeset for help on using the changeset viewer.