Ignore:
Timestamp:
2015-07-20T23:31:22+02:00 (4 years ago)
Author:
Don-vip
Message:

define static variable before first use to see if it solves NPE in plugin unit tests

File:
1 edited

Legend:

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

    r8584 r8608  
    3636public class CustomProjection extends AbstractProjection {
    3737
     38    private static final double METER_PER_UNIT_DEGREE = 2 * Math.PI * 6370997 / 360;
    3839    private static final Map<String, Double> UNITS_TO_METERS = getUnitsToMeters();
    39     private static final double METER_PER_UNIT_DEGREE = 2 * Math.PI * 6370997 / 360;
    4040
    4141    /**
Note: See TracChangeset for help on using the changeset viewer.