diff --git a/extensions/arc/deployment/src/test/java/io/quarkus/arc/test/lookup/ListInjectionTest.java b/extensions/arc/deployment/src/test/java/io/quarkus/arc/test/lookup/ListInjectionTest.java index 654bdd8d4339c..9d4e42f00d01a 100644 --- a/extensions/arc/deployment/src/test/java/io/quarkus/arc/test/lookup/ListInjectionTest.java +++ b/extensions/arc/deployment/src/test/java/io/quarkus/arc/test/lookup/ListInjectionTest.java @@ -9,6 +9,7 @@ import java.util.concurrent.atomic.AtomicBoolean; import jakarta.annotation.PreDestroy; +import jakarta.annotation.Priority; import jakarta.enterprise.context.Dependent; import jakarta.enterprise.inject.Alternative; import jakarta.enterprise.inject.Default; @@ -22,7 +23,6 @@ import io.quarkus.arc.All; import io.quarkus.arc.Arc; import io.quarkus.arc.InstanceHandle; -import io.quarkus.arc.Priority; import io.quarkus.arc.Unremovable; import io.quarkus.test.QuarkusUnitTest; diff --git a/extensions/micrometer/runtime/src/main/java/io/quarkus/micrometer/runtime/export/PrometheusMeterRegistryProducer.java b/extensions/micrometer/runtime/src/main/java/io/quarkus/micrometer/runtime/export/PrometheusMeterRegistryProducer.java index 7fba83e2e3217..53487aca98da4 100644 --- a/extensions/micrometer/runtime/src/main/java/io/quarkus/micrometer/runtime/export/PrometheusMeterRegistryProducer.java +++ b/extensions/micrometer/runtime/src/main/java/io/quarkus/micrometer/runtime/export/PrometheusMeterRegistryProducer.java @@ -2,6 +2,7 @@ import java.util.Optional; +import jakarta.annotation.Priority; import jakarta.enterprise.inject.Alternative; import jakarta.enterprise.inject.Produces; import jakarta.inject.Singleton; @@ -12,7 +13,6 @@ import io.micrometer.prometheus.PrometheusMeterRegistry; import io.prometheus.client.CollectorRegistry; import io.prometheus.client.exemplars.ExemplarSampler; -import io.quarkus.arc.Priority; /** * This producer is only registered if the {@code quarkus.micrometer.export.prometheus.default-registry} is set to {@code true}. diff --git a/extensions/resteasy-reactive/rest-client-reactive/deployment/src/test/java/io/quarkus/rest/client/reactive/beanTypes/ClientMock.java b/extensions/resteasy-reactive/rest-client-reactive/deployment/src/test/java/io/quarkus/rest/client/reactive/beanTypes/ClientMock.java index 795696f40bca9..9ccfaf8fdd28d 100644 --- a/extensions/resteasy-reactive/rest-client-reactive/deployment/src/test/java/io/quarkus/rest/client/reactive/beanTypes/ClientMock.java +++ b/extensions/resteasy-reactive/rest-client-reactive/deployment/src/test/java/io/quarkus/rest/client/reactive/beanTypes/ClientMock.java @@ -1,12 +1,11 @@ package io.quarkus.rest.client.reactive.beanTypes; +import jakarta.annotation.Priority; import jakarta.enterprise.context.ApplicationScoped; import jakarta.enterprise.inject.Alternative; import org.eclipse.microprofile.rest.client.inject.RestClient; -import io.quarkus.arc.Priority; - @Alternative() @Priority(1) @ApplicationScoped diff --git a/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/security/CustomFormAuthChallengeTest.java b/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/security/CustomFormAuthChallengeTest.java index fc7ff866f05f4..73bd7f62ddf15 100644 --- a/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/security/CustomFormAuthChallengeTest.java +++ b/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/security/CustomFormAuthChallengeTest.java @@ -3,6 +3,7 @@ import java.util.Set; import java.util.function.Supplier; +import jakarta.annotation.Priority; import jakarta.enterprise.context.ApplicationScoped; import jakarta.enterprise.inject.Alternative; import jakarta.inject.Inject; @@ -15,7 +16,6 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension; -import io.quarkus.arc.Priority; import io.quarkus.security.identity.IdentityProviderManager; import io.quarkus.security.identity.SecurityIdentity; import io.quarkus.security.identity.request.AuthenticationRequest;