From e6fd1bb4b1eabd3e639c8c7f32f06c10b0fce75a Mon Sep 17 00:00:00 2001 From: timo <1398557+timo-a@users.noreply.github.com> Date: Sun, 8 Dec 2024 13:30:50 +0100 Subject: [PATCH] roll back nullable annotation --- .../org/openrewrite/java/migrate/lombok/ConvertGetter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/openrewrite/java/migrate/lombok/ConvertGetter.java b/src/main/java/org/openrewrite/java/migrate/lombok/ConvertGetter.java index 5dd249033..365f1d8f9 100644 --- a/src/main/java/org/openrewrite/java/migrate/lombok/ConvertGetter.java +++ b/src/main/java/org/openrewrite/java/migrate/lombok/ConvertGetter.java @@ -18,7 +18,6 @@ import lombok.AccessLevel; import lombok.EqualsAndHashCode; import lombok.Value; -import org.jspecify.annotations.Nullable; import org.openrewrite.ExecutionContext; import org.openrewrite.Recipe; import org.openrewrite.TreeVisitor; @@ -92,7 +91,7 @@ public J.ClassDeclaration visitClassDeclaration(J.ClassDeclaration classDecl, Ex } @Override - public @Nullable J.MethodDeclaration visitMethodDeclaration(J.MethodDeclaration method, ExecutionContext ctx) { + public J.MethodDeclaration visitMethodDeclaration(J.MethodDeclaration method, ExecutionContext ctx) { assert method.getMethodType() != null; if (LombokUtils.isEffectivelyGetter(method)) {