- Timestamp:
- 2019-03-21T20:50:24+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/Addresses.java
r14906 r14914 430 430 431 431 for (RelationMember m : r.getMembers()) { 432 if (m.getMember().isIncomplete() || m.isRelation() ||!isInWarnCountry(m, countryCodes))432 if (m.getMember().isIncomplete() || !isInWarnCountry(m, countryCodes)) 433 433 return; 434 434 … … 475 475 } else if (m.isWay()) { 476 476 center = m.getWay().getBBox().getCenter(); 477 } else if (m.isRelation() && m.getRelation().isMultipolygon()) { 478 center = m.getRelation().getBBox().getCenter(); 477 479 } 478 480 if (center == null) 479 return true;481 return false; 480 482 for (String country : countryCodes) { 481 483 if (Territories.isIso3166Code(country, center))
Note:
See TracChangeset
for help on using the changeset viewer.