Changeset 6093 in josm for trunk/src/org/openstreetmap/josm/data/validation
- Timestamp:
- 2013-07-30T18:35:47+02:00 (11 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/Coastlines.java
r4869 r6093 157 157 } 158 158 159 if ( highlight.size() > 0) {159 if (!highlight.isEmpty()) { 160 160 errors.add(new TestError(this, Severity.ERROR, tr("Unconnected coastline"), 161 161 UNCONNECTED_COASTLINE, primitives, highlight)); -
trunk/src/org/openstreetmap/josm/data/validation/tests/RelationChecker.java
r6068 r6093 109 109 } 110 110 } 111 if (allroles. size() == 0) {111 if (allroles.isEmpty()) { 112 112 errors.add( new TestError(this, Severity.WARNING, tr("Relation type is unknown"), 113 113 RELATION_UNKNOWN, n) );
Note:
See TracChangeset
for help on using the changeset viewer.