Changeset 11998 in josm


Ignore:
Timestamp:
2017-04-25T00:38:04+02:00 (7 years ago)
Author:
Don-vip
Message:

see #14692 - checkstyle

File:
1 edited

Legend:

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

    r11989 r11998  
    238238        if (name == null) {
    239239           return true;
    240         }
    241         else if (possibleMatchError != null) {
     240        } else if (possibleMatchError != null) {
    242241            // if any error found, then assume that member type was correct
    243242            // and complain about not matching the memberExpression
     
    282281            checkRoleCounts(n, r, keyname, map.get(r.key));
    283282        }
    284         if("network".equals(n.get("type")) && !"bicycle".equals(n.get("route"))) {
     283        if ("network".equals(n.get("type")) && !"bicycle".equals(n.get("route"))) {
    285284            return;
    286285        }
     
    294293                }
    295294            }
    296            
     295
    297296            if (!found) {
    298297                String templates = allroles.stream().map(r -> r.key).collect(Collectors.joining("/"));
Note: See TracChangeset for help on using the changeset viewer.