Changeset 6062 in josm for trunk/src/org
- Timestamp:
- 2013-07-12T00:56:44+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/RelationChecker.java
r5828 r6062 230 230 @Override 231 231 public boolean isFixable(TestError testError) { 232 return testError.getCode() == RELATION_EMPTY && testError.getPrimitives().iterator().next().isNew(); 232 Collection<? extends OsmPrimitive> primitives = testError.getPrimitives(); 233 return testError.getCode() == RELATION_EMPTY && !primitives.isEmpty() && primitives.iterator().next().isNew(); 233 234 } 234 235 }
Note:
See TracChangeset
for help on using the changeset viewer.