Ignore:
Timestamp:
2016-03-16T01:17:59+01:00 (8 years ago)
Author:
Don-vip
Message:

sonar - fix various issues

File:
1 edited

Legend:

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

    r9790 r10000  
    571571        }
    572572        if (parameters.containsKey(Param.no_off.key) || parameters.containsKey(Param.no_uoff.key)) {
    573             projParams.no_off = true;
     573            projParams.no_off = Boolean.TRUE;
    574574        }
    575575        proj.initialize(projParams);
     
    713713    /**
    714714     * Factor to convert units of east/north coordinates to meters.
    715      * 
     715     *
    716716     * When east/north coordinates are in degrees (geographic CRS), the scale
    717717     * at the equator is taken, i.e. 360 degrees corresponds to the length of
    718718     * the equator in meters.
    719      * 
     719     *
    720720     * @return factor to convert units to meter
    721721     */
     
    780780    }
    781781
    782     private EastNorth getPointAlong(int i, int N, ProjectionBounds r) {
     782    private static EastNorth getPointAlong(int i, int N, ProjectionBounds r) {
    783783        double dEast = (r.maxEast - r.minEast) / N;
    784784        double dNorth = (r.maxNorth - r.minNorth) / N;
Note: See TracChangeset for help on using the changeset viewer.