Ignore:
Timestamp:
2017-02-19T23:52:08+01:00 (7 years ago)
Author:
Don-vip
Message:

checkstyle - enable BooleanExpressionComplexity / 6

File:
1 edited

Legend:

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

    r11503 r11587  
    11781178     */
    11791179    public boolean hasEqualTechnicalAttributes(OsmPrimitive other) {
     1180        // CHECKSTYLE.OFF: BooleanExpressionComplexity
    11801181        return other != null
    11811182            && timestamp == other.timestamp
     
    11861187            && isVisible() == other.isVisible()
    11871188            && Objects.equals(user, other.user);
     1189        // CHECKSTYLE.ON: BooleanExpressionComplexity
    11881190    }
    11891191
     
    13541356                || "yes".equals(get("area"))
    13551357                || "riverbank".equals(get("waterway"))
    1356                 || hasKey("natural")
    1357                 || hasKey("amenity")
    1358                 || hasKey("leisure")
    1359                 || hasKey("building")
    1360                 || hasKey("building:part");
     1358                || hasKey("natural", "amenity", "leisure", "building", "building:part");
    13611359    }
    13621360
Note: See TracChangeset for help on using the changeset viewer.