Ignore:
Timestamp:
2015-06-20T23:42:21+02:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle: enable relevant whitespace checks and fix them

File:
1 edited

Legend:

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

    r7937 r8510  
    1414 * A system of units used to express length and area measurements.
    1515 * @since 3406 (creation)
    16  * @since 6992 (extraction in this package) 
     16 * @since 6992 (extraction in this package)
    1717 */
    1818public class SystemOfMeasurement {
     
    4141     */
    4242    public static final SystemOfMeasurement NAUTICAL_MILE = new SystemOfMeasurement(185.2, "kbl", 1852, "NM");
    43    
     43
    4444    /**
    4545     * Known systems of measurement.
     
    5454        ALL_SYSTEMS.put(marktr("Nautical Mile"), NAUTICAL_MILE);
    5555    }
    56    
     56
    5757    /** First value, in meters, used to translate unit according to above formula. */
    5858    public final double aValue;
     
    173173            return format.format(v) + " " + unit;
    174174        }
    175         return String.format(Locale.US, "%." + (v<9.999999 ? 2 : 1) + "f %s", v, unit);
     175        return String.format(Locale.US, "%." + (v < 9.999999 ? 2 : 1) + "f %s", v, unit);
    176176    }
    177177}
Note: See TracChangeset for help on using the changeset viewer.