- Timestamp:
- 2020-03-23T08:55:27+01:00 (5 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/validation/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/Lanes.java
r12620 r16198 93 93 checkNumberOfLanes(p); 94 94 } 95 96 @Override 97 public boolean isPrimitiveUsable(OsmPrimitive p) { 98 return p.isTagged() && super.isPrimitiveUsable(p); 99 } 95 100 } -
trunk/src/org/openstreetmap/josm/data/validation/tests/NameMismatch.java
r14525 r16198 78 78 @Override 79 79 public void check(OsmPrimitive p) { 80 if (!p.isTagged()) 81 return; 80 82 Set<String> names = p.getKeys().entrySet().stream() 81 83 .filter(e -> e.getValue() != null && e.getKey().startsWith("name:") && !EXCLUSIONS.contains(e.getKey())) … … 114 116 } 115 117 } 118 119 @Override 120 public boolean isPrimitiveUsable(OsmPrimitive p) { 121 return p.isTagged() && super.isPrimitiveUsable(p); 122 } 123 116 124 }
Note:
See TracChangeset
for help on using the changeset viewer.