Ignore:
Timestamp:
2013-11-07T13:37:16+01:00 (11 years ago)
Author:
donvip
Message:

[josm_building_tools] - see #josm7328 - bring code quality closer to JOSM core standards

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/buildings_tools/src/buildings_tools/BuildingsToolsPlugin.java

    r29771 r30045  
     1// License: GPL. For details, see LICENSE file.
    12package buildings_tools;
    23
     
    1314
    1415public class BuildingsToolsPlugin extends Plugin {
    15     public static Projection proj = Projections.getProjectionByCode("EPSG:3857"); // Mercator
     16    public static final Projection MERCATOR = Projections.getProjectionByCode("EPSG:3857"); // Mercator
    1617
    1718    public static EastNorth latlon2eastNorth(LatLon p) {
    18         return proj.latlon2eastNorth(p);
     19        return MERCATOR.latlon2eastNorth(p);
    1920    }
    2021
    2122    public static LatLon eastNorth2latlon(EastNorth p) {
    22         return proj.eastNorth2latlon(p);
     23        return MERCATOR.eastNorth2latlon(p);
    2324    }
    2425
Note: See TracChangeset for help on using the changeset viewer.