Skip to content

Commit

Permalink
Simplify stream data flow
Browse files Browse the repository at this point in the history
  • Loading branch information
jeantessier committed Sep 23, 2024
1 parent ac16671 commit d2dbfe5
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,6 @@ public Collection<? extends com.jeantessier.classreader.Method_info> locateMetho
.map(className -> getLoader().getClassfile(className))
.filter(Objects::nonNull)
.flatMap(classfile -> classfile.locateMethodDeclarations(filter).stream())
.filter(Objects::nonNull)
.toList();

if (!declarations.isEmpty()) {
Expand Down

0 comments on commit d2dbfe5

Please sign in to comment.