Skip to content

Commit

Permalink
add result check to scanner manager
Browse files Browse the repository at this point in the history
Signed-off-by: Nicklas Körtge <nicklas.koertge1@ibm.com>
  • Loading branch information
n1ckl0sk0rtge committed Oct 31, 2024
1 parent a52562e commit 0c8c4f8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ public IStatistics getStatistics() {
INode::getKind, Collectors.counting())));
}

public boolean hasResults() {
return !this.getAggregatedNodes().isEmpty();
}

@Nonnull
private List<INode> getAggregatedNodes() {
List<INode> nodes = new ArrayList<>();
Expand Down

0 comments on commit 0c8c4f8

Please sign in to comment.