Ignore:
Timestamp:
2016-05-11T04:44:00+02:00 (10 years ago)
Author:
Don-vip
Message:

sonar - squid:S2184 - Math operands should be cast before assignment

File:
1 edited

Legend:

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

    r10001 r10181  
    249249                if (zone == null || zone < 1 || zone > 60)
    250250                    throw new ProjectionConfigurationException(tr("Expected integer value in range 1-60 for ''+zone=...'' parameter."));
    251                 this.lon0 = 6 * zone - 183;
     251                this.lon0 = 6d * zone - 183d;
    252252                this.k0 = 0.9996;
    253253                this.x0 = 500000;
Note: See TracChangeset for help on using the changeset viewer.