From 1d462be335adb33b0f9a3d2e99ec6cddc47a0015 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Schn=C3=A9ider?= Date: Thu, 15 Aug 2024 00:38:20 -0400 Subject: [PATCH] Migrate to JSpecify from OpenRewrite JSR-305 meta-annotations (#19) Use this link to re-run the recipe: https://app.moderne.io/builder/gW3xaSLWV?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne --- src/main/java/org/openrewrite/ai/model/CodeEditResponse.java | 2 +- src/main/java/org/openrewrite/ai/package-info.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/openrewrite/ai/model/CodeEditResponse.java b/src/main/java/org/openrewrite/ai/model/CodeEditResponse.java index 760c847..f27a58a 100644 --- a/src/main/java/org/openrewrite/ai/model/CodeEditResponse.java +++ b/src/main/java/org/openrewrite/ai/model/CodeEditResponse.java @@ -16,7 +16,7 @@ package org.openrewrite.ai.model; import lombok.Value; -import org.openrewrite.internal.lang.Nullable; +import org.jspecify.annotations.Nullable; import java.util.List; diff --git a/src/main/java/org/openrewrite/ai/package-info.java b/src/main/java/org/openrewrite/ai/package-info.java index d61a832..72abece 100644 --- a/src/main/java/org/openrewrite/ai/package-info.java +++ b/src/main/java/org/openrewrite/ai/package-info.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -@NonNullApi +@NullMarked @NonNullFields package org.openrewrite.ai; -import org.openrewrite.internal.lang.NonNullApi; +import org.jspecify.annotations.NullMarked; import org.openrewrite.internal.lang.NonNullFields;