Ignore:
Timestamp:
2015-06-27T21:43:35+02:00 (9 years ago)
Author:
Don-vip
Message:

fix remaining checkstyle issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/Highways.java

    r8509 r8540  
    9393            }
    9494            if (n.hasKey("source:maxspeed")) {
    95                 // Check maxspeed but not context against highway for nodes as maxspeed is not set on highways here but on signs, speed cameras, etc.
     95                // Check maxspeed but not context against highway for nodes
     96                // as maxspeed is not set on highways here but on signs, speed cameras, etc.
    9697                testSourceMaxspeed(n, false);
    9798            }
     
    209210                }
    210211                if ((leftByPedestrians || leftByCyclists) && leftByCars) {
    211                     errors.add(new TestError(this, Severity.OTHER, tr("Missing pedestrian crossing information"), MISSING_PEDESTRIAN_CROSSING, n));
     212                    errors.add(new TestError(this, Severity.OTHER, tr("Missing pedestrian crossing information"),
     213                            MISSING_PEDESTRIAN_CROSSING, n));
    212214                    return;
    213215                }
     
    244246            String country = value.substring(0, index);
    245247            if (!ISO_COUNTRIES.contains(country)) {
    246                 errors.add(new TestError(this, Severity.WARNING, tr("Unknown country code: {0}", country), SOURCE_MAXSPEED_UNKNOWN_COUNTRY_CODE, p));
     248                errors.add(new TestError(this, Severity.WARNING,
     249                        tr("Unknown country code: {0}", country), SOURCE_MAXSPEED_UNKNOWN_COUNTRY_CODE, p));
    247250            }
    248251            // Check context
Note: See TracChangeset for help on using the changeset viewer.