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/coor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/coor/CoordinateFormat.java

    r3530 r6883  
    5656     * @return the default coordinate format
    5757     */
    58     static public CoordinateFormat getDefaultFormat() {
     58    public static CoordinateFormat getDefaultFormat() {
    5959        return defaultCoordinateFormat;
    6060    }
     
    6565     * @param format the default coordinate format
    6666     */
    67     static public void setCoordinateFormat(CoordinateFormat format) {
     67    public static void setCoordinateFormat(CoordinateFormat format) {
    6868        if (format != null) {
    6969            defaultCoordinateFormat = format;
  • trunk/src/org/openstreetmap/josm/data/coor/LatLon.java

    r6830 r6883  
    191191    }
    192192
    193     public final static String SOUTH = trc("compass", "S");
    194     public final static String NORTH = trc("compass", "N");
     193    public static final String SOUTH = trc("compass", "S");
     194    public static final String NORTH = trc("compass", "N");
    195195    public String latToString(CoordinateFormat d) {
    196196        switch(d) {
     
    211211    }
    212212
    213     public final static String WEST = trc("compass", "W");
    214     public final static String EAST = trc("compass", "E");
     213    public static final String WEST = trc("compass", "W");
     214    public static final String EAST = trc("compass", "E");
    215215    public String lonToString(CoordinateFormat d) {
    216216        switch(d) {
Note: See TracChangeset for help on using the changeset viewer.