Skip to content

Commit

Permalink
Keep validating even if an error was encountered
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickackermann committed Jun 14, 2024
1 parent 39a03e2 commit 2ade020
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,17 @@ private Value isInsideArea(String usageScope, Collection<IomObject> objects, Pat
return Value.createSkipEvaluation();
}

boolean result = true;
for (int i = 0; i < sortedGeometries.size() - 1; i++) {
Geometry current = sortedGeometries.get(i);
Geometry next = sortedGeometries.get(i + 1);

if (!next.contains(current)) {
return new Value(false);
result = false;
}
}

return new Value(true);
return new Value(result);
}

private List<Geometry> sortByEnumValues(Map<ValueKey, Geometry> map, EnumerationType enumType) {
Expand Down

0 comments on commit 2ade020

Please sign in to comment.