Ignore:
Timestamp:
2012-11-03T09:58:37+01:00 (12 years ago)
Author:
bastiK
Message:

join ProjectionInfo and Projections

the first is not referenced in core code (therefore removed by server build) but needed in plugins (see #8172)

Location:
trunk/test/unit/org/openstreetmap/josm/data/projection
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRefTest.java

    r5236 r5554  
    6565            double east = Double.parseDouble(f[3]);
    6666            double north = Double.parseDouble(f[4]);
    67             Projection p = ProjectionInfo.getProjectionByCode(code);
     67            Projection p = Projections.getProjectionByCode(code);
    6868            {
    6969                EastNorth en = p.latlon2eastNorth(new LatLon(lat, lon));
  • trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRegressionTest.java

    r5236 r5554  
    171171
    172172        for (TestData data : allData) {
    173             Projection proj = ProjectionInfo.getProjectionByCode(data.code);
     173            Projection proj = Projections.getProjectionByCode(data.code);
    174174            if (proj == null) {
    175175                fail.append("Projection "+data.code+" from test data was not found!\n");
Note: See TracChangeset for help on using the changeset viewer.