diff --git a/src/main/java/org/openrewrite/micrometer/dropwizard/package-info.java b/src/main/java/org/openrewrite/micrometer/dropwizard/package-info.java index 0809c7e..1751df0 100644 --- a/src/main/java/org/openrewrite/micrometer/dropwizard/package-info.java +++ b/src/main/java/org/openrewrite/micrometer/dropwizard/package-info.java @@ -13,8 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -@NonNullApi @NonNullFields +@NullMarked @NonNullFields package org.openrewrite.micrometer.dropwizard; -import org.openrewrite.internal.lang.NonNullApi; +import org.jspecify.annotations.NullMarked; import org.openrewrite.internal.lang.NonNullFields; diff --git a/src/main/java/org/openrewrite/micrometer/misk/package-info.java b/src/main/java/org/openrewrite/micrometer/misk/package-info.java index 63263e2..374c193 100644 --- a/src/main/java/org/openrewrite/micrometer/misk/package-info.java +++ b/src/main/java/org/openrewrite/micrometer/misk/package-info.java @@ -13,8 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -@NonNullApi @NonNullFields +@NullMarked @NonNullFields package org.openrewrite.micrometer.misk; -import org.openrewrite.internal.lang.NonNullApi; +import org.jspecify.annotations.NullMarked; import org.openrewrite.internal.lang.NonNullFields; diff --git a/src/main/java/org/openrewrite/micrometer/package-info.java b/src/main/java/org/openrewrite/micrometer/package-info.java index 4581de7..87dfb0c 100644 --- a/src/main/java/org/openrewrite/micrometer/package-info.java +++ b/src/main/java/org/openrewrite/micrometer/package-info.java @@ -13,8 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -@NonNullApi @NonNullFields +@NullMarked @NonNullFields package org.openrewrite.micrometer; -import org.openrewrite.internal.lang.NonNullApi; +import org.jspecify.annotations.NullMarked; import org.openrewrite.internal.lang.NonNullFields; diff --git a/src/test/java/org/openrewrite/micrometer/MicrometerPrometheusCompatabilityTest.java b/src/test/java/org/openrewrite/micrometer/MicrometerPrometheusCompatabilityTest.java index 1d58d17..2c7a5a2 100644 --- a/src/test/java/org/openrewrite/micrometer/MicrometerPrometheusCompatabilityTest.java +++ b/src/test/java/org/openrewrite/micrometer/MicrometerPrometheusCompatabilityTest.java @@ -25,13 +25,13 @@ import io.prometheus.client.*; import io.prometheus.client.Collector.MetricFamilySamples.Sample; import lombok.RequiredArgsConstructor; +import org.jspecify.annotations.Nullable; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.ArgumentsProvider; import org.junit.jupiter.params.provider.ArgumentsSource; -import org.openrewrite.internal.lang.Nullable; import java.time.Duration; import java.util.*;