Ignore:
Timestamp:
2015-06-20T23:42:21+02:00 (11 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/Bounds.java

    r8509 r8510  
    179179                    MessageFormat.format("Exactly four doubles expected in string, got {0}: {1}", components.length, asString));
    180180        double[] values = new double[4];
    181         for (int i=0; i<4; i++) {
     181        for (int i = 0; i < 4; i++) {
    182182            try {
    183183                values[i] = Double.parseDouble(components[i]);
    184             } catch(NumberFormatException e) {
     184            } catch (NumberFormatException e) {
    185185                throw new IllegalArgumentException(MessageFormat.format("Illegal double value ''{0}''", components[i]), e);
    186186            }
     
    281281            double lat = (minLat + maxLat) / 2;
    282282            double lon = (minLon + maxLon - 360.0) / 2;
    283             if (lon < -180.0){
     283            if (lon < -180.0) {
    284284                lon += 360.0;
    285285            }
Note: See TracChangeset for help on using the changeset viewer.