diff --git a/extensions/infinispan-client/deployment/src/main/java/io/quarkus/infinispan/client/deployment/devservices/InfinispanDevServiceProcessor.java b/extensions/infinispan-client/deployment/src/main/java/io/quarkus/infinispan/client/deployment/devservices/InfinispanDevServiceProcessor.java index 436353068a1bd..a332c47b39a4f 100644 --- a/extensions/infinispan-client/deployment/src/main/java/io/quarkus/infinispan/client/deployment/devservices/InfinispanDevServiceProcessor.java +++ b/extensions/infinispan-client/deployment/src/main/java/io/quarkus/infinispan/client/deployment/devservices/InfinispanDevServiceProcessor.java @@ -18,7 +18,6 @@ import org.infinispan.commons.util.Version; import org.infinispan.server.test.core.InfinispanContainer; import org.jboss.logging.Logger; -import org.jetbrains.annotations.NotNull; import io.quarkus.deployment.Feature; import io.quarkus.deployment.IsNormal; @@ -224,7 +223,6 @@ private RunningDevService startContainer(String clientName, DockerStatusBuildIte .orElseGet(infinispanServerSupplier); } - @NotNull private RunningDevService getRunningDevService(String clientName, String containerId, Closeable closeable, String hosts, String username, String password, Map config) { config.put(getConfigPrefix(clientName) + "hosts", hosts); diff --git a/extensions/redis-cache/deployment/src/main/java/io/quarkus/cache/redis/deployment/RedisCacheProcessor.java b/extensions/redis-cache/deployment/src/main/java/io/quarkus/cache/redis/deployment/RedisCacheProcessor.java index ca908f3006e97..22ccdb2353519 100644 --- a/extensions/redis-cache/deployment/src/main/java/io/quarkus/cache/redis/deployment/RedisCacheProcessor.java +++ b/extensions/redis-cache/deployment/src/main/java/io/quarkus/cache/redis/deployment/RedisCacheProcessor.java @@ -20,7 +20,6 @@ import org.jboss.jandex.ParameterizedType; import org.jboss.jandex.Type; import org.jboss.logging.Logger; -import org.jetbrains.annotations.NotNull; import io.quarkus.arc.deployment.UnremovableBeanBuildItem; import io.quarkus.cache.CompositeCacheKey; @@ -103,7 +102,6 @@ void determineValueTypes(RedisCacheBuildRecorder recorder, CombinedIndexBuildIte recorder.setCacheValueTypes(valueTypes); } - @NotNull private static Map valueTypesFromCacheResultAnnotation(CombinedIndexBuildItem combinedIndex) { Map> valueTypesFromAnnotations = new HashMap<>(); diff --git a/extensions/resteasy-reactive/quarkus-resteasy-reactive-kotlin-serialization-common/runtime/src/main/java/io/quarkus/resteasy/reactive/kotlin/serialization/common/JsonBuilderCustomizer.java b/extensions/resteasy-reactive/quarkus-resteasy-reactive-kotlin-serialization-common/runtime/src/main/java/io/quarkus/resteasy/reactive/kotlin/serialization/common/JsonBuilderCustomizer.java index 5bfab19d9e3b1..4948a28be2a12 100644 --- a/extensions/resteasy-reactive/quarkus-resteasy-reactive-kotlin-serialization-common/runtime/src/main/java/io/quarkus/resteasy/reactive/kotlin/serialization/common/JsonBuilderCustomizer.java +++ b/extensions/resteasy-reactive/quarkus-resteasy-reactive-kotlin-serialization-common/runtime/src/main/java/io/quarkus/resteasy/reactive/kotlin/serialization/common/JsonBuilderCustomizer.java @@ -1,7 +1,5 @@ package io.quarkus.resteasy.reactive.kotlin.serialization.common; -import org.jetbrains.annotations.NotNull; - import kotlinx.serialization.json.JsonBuilder; /** @@ -25,7 +23,7 @@ default int priority() { return DEFAULT_PRIORITY; } - default int compareTo(@NotNull JsonBuilderCustomizer o) { + default int compareTo(JsonBuilderCustomizer o) { return Integer.compare(o.priority(), priority()); } } diff --git a/integration-tests/gradle/src/main/resources/multi-source-project/src/main/java/org/acme/service/SimpleService.java b/integration-tests/gradle/src/main/resources/multi-source-project/src/main/java/org/acme/service/SimpleService.java index b8df650a668c1..0f7635267e500 100644 --- a/integration-tests/gradle/src/main/resources/multi-source-project/src/main/java/org/acme/service/SimpleService.java +++ b/integration-tests/gradle/src/main/resources/multi-source-project/src/main/java/org/acme/service/SimpleService.java @@ -1,12 +1,9 @@ package org.acme.service; -import org.jetbrains.annotations.NotNull; - import jakarta.enterprise.context.ApplicationScoped; @ApplicationScoped public class SimpleService { - @NotNull public String hello() { return "hello from JavaComponent"; }