Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save collinsauve/f75eed207ff616d322642b34ce881f38 to your computer and use it in GitHub Desktop.
Save collinsauve/f75eed207ff616d322642b34ce881f38 to your computer and use it in GitHub Desktop.
List<JsonNode> fieldNodes = FindingJsonHelper.getFields(finding, fieldKey);
if (fieldNodes.stream().noneMatch(fieldNode -> conditions.stream().allMatch(c -> c.evaluate(fieldNode)))) {
return false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment