Skip to content

Commit

Permalink
Fix incorrect traversal direction in predecessorsContain
Browse files Browse the repository at this point in the history
  • Loading branch information
Malika-BG authored and mrjameshamilton committed Aug 22, 2024
1 parent 7877db6 commit 978cfce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public boolean predecessorsContain(MethodSignature signature) {
if (this.signature.equals(signature)) {
return true;
}
return successors.stream().anyMatch(s -> s.predecessorsContain(signature));
return predecessors.stream().anyMatch(s -> s.predecessorsContain(signature));
}

/**
Expand Down
4 changes: 4 additions & 0 deletions docs/md/releasenotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
- Make `CallGraph` reconstruction/traversal methods generic in that they now take a `Set<MethodSignature>` to determine when to stop exploration
- Delete `EntryPoint` class

### Bugfixes

- Fix incorrect traversal direction in `predecessorsContain`.

## Version 9.1.5

### Improved
Expand Down

0 comments on commit 978cfce

Please sign in to comment.