Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nimakarimipour committed May 21, 2024
1 parent bc7a40c commit 3f50938
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ public Set<Fix> visitMethodInvocation(MethodInvocationTree node, FoundRequired p
if (typeFactory.isFromStubFile(calledMethod)) {
return Set.of();
}
if (!requireFix(pair)) {
return Set.of();
}
Fix onMethod = buildFixForElement(calledMethod, pair);
if (onMethod == null || !requireFix(pair)) {
return Set.of();
Expand Down

0 comments on commit 3f50938

Please sign in to comment.