Skip to content

Commit

Permalink
fix suggestions from reviewbot
Browse files Browse the repository at this point in the history
  • Loading branch information
timo-a committed Jan 15, 2025
1 parent 4194a9d commit 7b8ffe4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ public J.ClassDeclaration visitClassDeclaration(J.ClassDeclaration classDecl, Ex
return classDecl;
}

public @Nullable J.MethodDeclaration visitMethodDeclaration(J.MethodDeclaration method, ExecutionContext ctx) {
public J.MethodDeclaration visitMethodDeclaration(J.MethodDeclaration method, ExecutionContext ctx) {
@Override
public J.@Nullable MethodDeclaration visitMethodDeclaration(J.MethodDeclaration method, ExecutionContext ctx) {
J.ClassDeclaration classDecl = getCursor().firstEnclosingOrThrow(J.ClassDeclaration.class);

// The enclosing class of a J.MethodDeclaration must be known for a MethodMatcher to match it
Expand Down

0 comments on commit 7b8ffe4

Please sign in to comment.