Ignore:
Timestamp:
2015-06-20T14:36:00+02:00 (9 years ago)
Author:
Don-vip
Message:

fix many checkstyle violations

File:
1 edited

Legend:

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

    r8454 r8509  
    102102    public void visit(Way w) {
    103103        if (w.isUsable()) {
    104             if (w.hasKey("highway") && CLASSIFIED_HIGHWAYS.contains(w.get("highway")) && w.hasKey("junction") && "roundabout".equals(w.get("junction"))) {
     104            if (w.hasKey("highway") && CLASSIFIED_HIGHWAYS.contains(w.get("highway"))
     105                    && w.hasKey("junction") && "roundabout".equals(w.get("junction"))) {
    105106                testWrongRoundabout(w);
    106107            }
     
    248249            String context = value.substring(index+1);
    249250            if (!KNOWN_SOURCE_MAXSPEED_CONTEXTS.contains(context)) {
    250                 errors.add(new TestError(this, Severity.WARNING, tr("Unknown source:maxspeed context: {0}", context), SOURCE_MAXSPEED_UNKNOWN_CONTEXT, p));
     251                errors.add(new TestError(this, Severity.WARNING,
     252                        tr("Unknown source:maxspeed context: {0}", context), SOURCE_MAXSPEED_UNKNOWN_CONTEXT, p));
    251253            }
    252254            // TODO: Check coherence of context against maxspeed
Note: See TracChangeset for help on using the changeset viewer.