Skip to content

Commit 7b8ffe4

Browse files
committed
fix suggestions from reviewbot
1 parent 4194a9d commit 7b8ffe4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/openrewrite/java/migrate/lombok/NegligentlyConvertEquals.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ public J.ClassDeclaration visitClassDeclaration(J.ClassDeclaration classDecl, Ex
8686
return classDecl;
8787
}
8888

89-
public @Nullable J.MethodDeclaration visitMethodDeclaration(J.MethodDeclaration method, ExecutionContext ctx) {
90-
public J.MethodDeclaration visitMethodDeclaration(J.MethodDeclaration method, ExecutionContext ctx) {
89+
@Override
90+
public J.@Nullable MethodDeclaration visitMethodDeclaration(J.MethodDeclaration method, ExecutionContext ctx) {
9191
J.ClassDeclaration classDecl = getCursor().firstEnclosingOrThrow(J.ClassDeclaration.class);
9292

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

0 commit comments

Comments
 (0)