Changeset 11587 in josm for trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
- Timestamp:
- 2017-02-19T23:52:08+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r11503 r11587 1178 1178 */ 1179 1179 public boolean hasEqualTechnicalAttributes(OsmPrimitive other) { 1180 // CHECKSTYLE.OFF: BooleanExpressionComplexity 1180 1181 return other != null 1181 1182 && timestamp == other.timestamp … … 1186 1187 && isVisible() == other.isVisible() 1187 1188 && Objects.equals(user, other.user); 1189 // CHECKSTYLE.ON: BooleanExpressionComplexity 1188 1190 } 1189 1191 … … 1354 1356 || "yes".equals(get("area")) 1355 1357 || "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"); 1361 1359 } 1362 1360
Note:
See TracChangeset
for help on using the changeset viewer.