Ignore:
Timestamp:
2014-02-25T01:31:24+01:00 (6 years ago)
Author:
Don-vip
Message:

fix some Sonar issues

Location:
trunk/src/org/openstreetmap/josm/data/projection/datum
Files:
3 edited

Legend:

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

    r6069 r6883  
    44import org.openstreetmap.josm.data.projection.Ellipsoid;
    55
    6 abstract public class AbstractDatum implements Datum {
     6public abstract class AbstractDatum implements Datum {
    77
    88    protected String name;
     
    1010    protected Ellipsoid ellps;
    1111
     12    /**
     13     * Constructs a new {@code AbstractDatum}.
     14     * @param name The name
     15     * @param proj4Id The Proj4 identifier
     16     * @param ellps The ellipsoid
     17     */
    1218    public AbstractDatum(String name, String proj4Id, Ellipsoid ellps) {
    1319        this.name = name;
  • trunk/src/org/openstreetmap/josm/data/projection/datum/GRS80Datum.java

    r6362 r6883  
    1212public final class GRS80Datum extends NullDatum {
    1313
    14     public final static GRS80Datum INSTANCE = new GRS80Datum();
     14    /**
     15     * The unique instance.
     16     */
     17    public static final GRS80Datum INSTANCE = new GRS80Datum();
    1518
    1619    private GRS80Datum() {
  • trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2GridShiftFileWrapper.java

    r6488 r6883  
    2020     * Description of Transformation - DE_DHDN (BeTA, 2007) to ETRS89</a>
    2121     */
    22     public final static NTV2GridShiftFileWrapper BETA2007 = new NTV2GridShiftFileWrapper("resource://data/projection/BETA2007.gsb");
     22    public static final NTV2GridShiftFileWrapper BETA2007 = new NTV2GridShiftFileWrapper("resource://data/projection/BETA2007.gsb");
    2323
    2424    /**
     
    2828     * [French] Transformation de coordonnées NTF – RGF93 / Format de grille NTv2</a>
    2929     */
    30     public final static NTV2GridShiftFileWrapper ntf_rgf93 = new NTV2GridShiftFileWrapper("resource://data/projection/ntf_r93_b.gsb");
    31 
     30    public static final NTV2GridShiftFileWrapper ntf_rgf93 = new NTV2GridShiftFileWrapper("resource://data/projection/ntf_r93_b.gsb");
    3231
    3332    private NTV2GridShiftFile instance = null;
Note: See TracChangeset for help on using the changeset viewer.