Skip to content

Commit

Permalink
add result check to scanner manager (#184)
Browse files Browse the repository at this point in the history
Signed-off-by: Nicklas Körtge <[email protected]>
  • Loading branch information
n1ckl0sk0rtge authored Oct 31, 2024
1 parent 252c85b commit 9f5556c
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 9f5556c

Please sign in to comment.