Ignore:
Timestamp:
2016-05-18T17:44:31+02:00 (8 years ago)
Author:
Don-vip
Message:

findbugs - UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR

File:
1 edited

Legend:

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

    r9970 r10250  
    66import org.openstreetmap.josm.data.Bounds;
    77import org.openstreetmap.josm.data.projection.ProjectionConfigurationException;
     8import org.openstreetmap.josm.tools.CheckParameterUtil;
    89
    910/**
     
    119120    public void initialize(ProjParameters params) throws ProjectionConfigurationException {
    120121        super.initialize(params);
     122        CheckParameterUtil.ensureParameterNotNull(params, "params");
     123        CheckParameterUtil.ensureParameterNotNull(params.ellps, "params.ellps");
    121124        eb2 = params.ellps.eb2;
    122125        latitudeOfOrigin = params.lat0 == null ? 0 : Math.toRadians(params.lat0);
Note: See TracChangeset for help on using the changeset viewer.