diff --git a/examples/amq-amqp/src/main/java/io/quarkus/qe/amqp/PriceConsumer.java b/examples/amq-amqp/src/main/java/io/quarkus/qe/amqp/PriceConsumer.java index 55a9de68e..88d6f8236 100644 --- a/examples/amq-amqp/src/main/java/io/quarkus/qe/amqp/PriceConsumer.java +++ b/examples/amq-amqp/src/main/java/io/quarkus/qe/amqp/PriceConsumer.java @@ -3,11 +3,11 @@ import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; +import jakarta.enterprise.context.ApplicationScoped; + import org.eclipse.microprofile.reactive.messaging.Incoming; import org.jboss.logging.Logger; -import jakarta.enterprise.context.ApplicationScoped; - @ApplicationScoped public class PriceConsumer { diff --git a/examples/amq-amqp/src/main/java/io/quarkus/qe/amqp/PriceProducer.java b/examples/amq-amqp/src/main/java/io/quarkus/qe/amqp/PriceProducer.java index 58216a20a..9f991a624 100644 --- a/examples/amq-amqp/src/main/java/io/quarkus/qe/amqp/PriceProducer.java +++ b/examples/amq-amqp/src/main/java/io/quarkus/qe/amqp/PriceProducer.java @@ -2,11 +2,12 @@ import java.time.Duration; +import jakarta.enterprise.context.ApplicationScoped; + import org.eclipse.microprofile.reactive.messaging.Outgoing; import org.jboss.logging.Logger; import io.smallrye.mutiny.Multi; -import jakarta.enterprise.context.ApplicationScoped; @ApplicationScoped public class PriceProducer { diff --git a/examples/amq-tcp/src/main/java/io/quarkus/qe/tcp/PriceProducer.java b/examples/amq-tcp/src/main/java/io/quarkus/qe/tcp/PriceProducer.java index b3df44bc7..d0b2e489e 100644 --- a/examples/amq-tcp/src/main/java/io/quarkus/qe/tcp/PriceProducer.java +++ b/examples/amq-tcp/src/main/java/io/quarkus/qe/tcp/PriceProducer.java @@ -9,11 +9,12 @@ import javax.jms.JMSContext; import javax.jms.Session; -import io.quarkus.runtime.ShutdownEvent; -import io.quarkus.runtime.StartupEvent; import jakarta.enterprise.context.ApplicationScoped; import jakarta.enterprise.event.Observes; +import io.quarkus.runtime.ShutdownEvent; +import io.quarkus.runtime.StartupEvent; + /** * A bean producing random prices every 5 seconds and sending them to the prices JMS queue. */ diff --git a/examples/consul/src/main/java/io/quarkus/qe/GreetingResource.java b/examples/consul/src/main/java/io/quarkus/qe/GreetingResource.java index faa296e8d..3e1841ff0 100644 --- a/examples/consul/src/main/java/io/quarkus/qe/GreetingResource.java +++ b/examples/consul/src/main/java/io/quarkus/qe/GreetingResource.java @@ -1,12 +1,12 @@ package io.quarkus.qe; -import org.eclipse.microprofile.config.inject.ConfigProperty; - import jakarta.ws.rs.GET; import jakarta.ws.rs.Path; import jakarta.ws.rs.Produces; import jakarta.ws.rs.core.MediaType; +import org.eclipse.microprofile.config.inject.ConfigProperty; + @Path("/api") public class GreetingResource { diff --git a/examples/database-mysql/src/main/java/io/quarkus/qe/database/mysql/ApplicationExceptionMapper.java b/examples/database-mysql/src/main/java/io/quarkus/qe/database/mysql/ApplicationExceptionMapper.java index 93430b147..b8a3c74c3 100644 --- a/examples/database-mysql/src/main/java/io/quarkus/qe/database/mysql/ApplicationExceptionMapper.java +++ b/examples/database-mysql/src/main/java/io/quarkus/qe/database/mysql/ApplicationExceptionMapper.java @@ -1,13 +1,13 @@ package io.quarkus.qe.database.mysql; -import com.fasterxml.jackson.databind.ObjectMapper; - import jakarta.ws.rs.WebApplicationException; import jakarta.ws.rs.core.MediaType; import jakarta.ws.rs.core.Response; import jakarta.ws.rs.ext.ExceptionMapper; import jakarta.ws.rs.ext.Provider; +import com.fasterxml.jackson.databind.ObjectMapper; + @Provider public class ApplicationExceptionMapper implements ExceptionMapper { @Override diff --git a/examples/database-mysql/src/main/java/io/quarkus/qe/database/mysql/Book.java b/examples/database-mysql/src/main/java/io/quarkus/qe/database/mysql/Book.java index 2cfb50d37..d89f5e476 100644 --- a/examples/database-mysql/src/main/java/io/quarkus/qe/database/mysql/Book.java +++ b/examples/database-mysql/src/main/java/io/quarkus/qe/database/mysql/Book.java @@ -1,10 +1,11 @@ package io.quarkus.qe.database.mysql; -import io.quarkus.hibernate.orm.panache.PanacheEntity; import jakarta.persistence.Entity; import jakarta.persistence.Table; import jakarta.validation.constraints.NotBlank; +import io.quarkus.hibernate.orm.panache.PanacheEntity; + @Entity @Table(name = "book") public class Book extends PanacheEntity { diff --git a/examples/database-mysql/src/main/java/io/quarkus/qe/database/mysql/BookResource.java b/examples/database-mysql/src/main/java/io/quarkus/qe/database/mysql/BookResource.java index 26f8b97a7..520deb418 100644 --- a/examples/database-mysql/src/main/java/io/quarkus/qe/database/mysql/BookResource.java +++ b/examples/database-mysql/src/main/java/io/quarkus/qe/database/mysql/BookResource.java @@ -2,7 +2,6 @@ import java.util.List; -import io.quarkus.panache.common.Sort; import jakarta.transaction.Transactional; import jakarta.validation.Valid; import jakarta.ws.rs.ClientErrorException; @@ -18,6 +17,8 @@ import jakarta.ws.rs.core.MediaType; import jakarta.ws.rs.core.Response; +import io.quarkus.panache.common.Sort; + @Path("/book") @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) diff --git a/examples/database-mysql/src/main/java/io/quarkus/qe/database/mysql/ValidationExceptionMapper.java b/examples/database-mysql/src/main/java/io/quarkus/qe/database/mysql/ValidationExceptionMapper.java index 103e7639a..3af6cecf8 100644 --- a/examples/database-mysql/src/main/java/io/quarkus/qe/database/mysql/ValidationExceptionMapper.java +++ b/examples/database-mysql/src/main/java/io/quarkus/qe/database/mysql/ValidationExceptionMapper.java @@ -1,8 +1,5 @@ package io.quarkus.qe.database.mysql; -import com.fasterxml.jackson.databind.ObjectMapper; -import com.fasterxml.jackson.databind.node.ArrayNode; - import jakarta.validation.ConstraintViolation; import jakarta.validation.ConstraintViolationException; import jakarta.ws.rs.core.MediaType; @@ -10,6 +7,9 @@ import jakarta.ws.rs.ext.ExceptionMapper; import jakarta.ws.rs.ext.Provider; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.node.ArrayNode; + @Provider public class ValidationExceptionMapper implements ExceptionMapper { diff --git a/examples/database-oracle/src/main/java/io/quarkus/qe/database/oracle/ApplicationExceptionMapper.java b/examples/database-oracle/src/main/java/io/quarkus/qe/database/oracle/ApplicationExceptionMapper.java index c187686a7..74a53ad07 100644 --- a/examples/database-oracle/src/main/java/io/quarkus/qe/database/oracle/ApplicationExceptionMapper.java +++ b/examples/database-oracle/src/main/java/io/quarkus/qe/database/oracle/ApplicationExceptionMapper.java @@ -1,13 +1,13 @@ package io.quarkus.qe.database.oracle; -import com.fasterxml.jackson.databind.ObjectMapper; - import jakarta.ws.rs.WebApplicationException; import jakarta.ws.rs.core.MediaType; import jakarta.ws.rs.core.Response; import jakarta.ws.rs.ext.ExceptionMapper; import jakarta.ws.rs.ext.Provider; +import com.fasterxml.jackson.databind.ObjectMapper; + @Provider public class ApplicationExceptionMapper implements ExceptionMapper { @Override diff --git a/examples/database-oracle/src/main/java/io/quarkus/qe/database/oracle/Book.java b/examples/database-oracle/src/main/java/io/quarkus/qe/database/oracle/Book.java index 023964b02..8724ffd5e 100644 --- a/examples/database-oracle/src/main/java/io/quarkus/qe/database/oracle/Book.java +++ b/examples/database-oracle/src/main/java/io/quarkus/qe/database/oracle/Book.java @@ -1,10 +1,11 @@ package io.quarkus.qe.database.oracle; -import io.quarkus.hibernate.orm.panache.PanacheEntity; import jakarta.persistence.Entity; import jakarta.persistence.Table; import jakarta.validation.constraints.NotBlank; +import io.quarkus.hibernate.orm.panache.PanacheEntity; + @Entity @Table(name = "book") public class Book extends PanacheEntity { diff --git a/examples/database-oracle/src/main/java/io/quarkus/qe/database/oracle/BookResource.java b/examples/database-oracle/src/main/java/io/quarkus/qe/database/oracle/BookResource.java index 609ba19fe..0efb49409 100644 --- a/examples/database-oracle/src/main/java/io/quarkus/qe/database/oracle/BookResource.java +++ b/examples/database-oracle/src/main/java/io/quarkus/qe/database/oracle/BookResource.java @@ -2,7 +2,6 @@ import java.util.List; -import io.quarkus.panache.common.Sort; import jakarta.transaction.Transactional; import jakarta.validation.Valid; import jakarta.ws.rs.ClientErrorException; @@ -18,6 +17,8 @@ import jakarta.ws.rs.core.MediaType; import jakarta.ws.rs.core.Response; +import io.quarkus.panache.common.Sort; + @Path("/book") @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) diff --git a/examples/database-oracle/src/main/java/io/quarkus/qe/database/oracle/ValidationExceptionMapper.java b/examples/database-oracle/src/main/java/io/quarkus/qe/database/oracle/ValidationExceptionMapper.java index 9e1d1c7d2..bd12ca499 100644 --- a/examples/database-oracle/src/main/java/io/quarkus/qe/database/oracle/ValidationExceptionMapper.java +++ b/examples/database-oracle/src/main/java/io/quarkus/qe/database/oracle/ValidationExceptionMapper.java @@ -1,8 +1,5 @@ package io.quarkus.qe.database.oracle; -import com.fasterxml.jackson.databind.ObjectMapper; -import com.fasterxml.jackson.databind.node.ArrayNode; - import jakarta.validation.ConstraintViolation; import jakarta.validation.ConstraintViolationException; import jakarta.ws.rs.core.MediaType; @@ -10,6 +7,9 @@ import jakarta.ws.rs.ext.ExceptionMapper; import jakarta.ws.rs.ext.Provider; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.node.ArrayNode; + @Provider public class ValidationExceptionMapper implements ExceptionMapper { diff --git a/examples/database-postgresql/src/main/java/io/quarkus/qe/database/postgresql/ApplicationExceptionMapper.java b/examples/database-postgresql/src/main/java/io/quarkus/qe/database/postgresql/ApplicationExceptionMapper.java index 74529f96b..0ecf3b374 100644 --- a/examples/database-postgresql/src/main/java/io/quarkus/qe/database/postgresql/ApplicationExceptionMapper.java +++ b/examples/database-postgresql/src/main/java/io/quarkus/qe/database/postgresql/ApplicationExceptionMapper.java @@ -1,13 +1,13 @@ package io.quarkus.qe.database.postgresql; -import com.fasterxml.jackson.databind.ObjectMapper; - import jakarta.ws.rs.WebApplicationException; import jakarta.ws.rs.core.MediaType; import jakarta.ws.rs.core.Response; import jakarta.ws.rs.ext.ExceptionMapper; import jakarta.ws.rs.ext.Provider; +import com.fasterxml.jackson.databind.ObjectMapper; + @Provider public class ApplicationExceptionMapper implements ExceptionMapper { @Override diff --git a/examples/database-postgresql/src/main/java/io/quarkus/qe/database/postgresql/Book.java b/examples/database-postgresql/src/main/java/io/quarkus/qe/database/postgresql/Book.java index 691d38921..edc4d3f4a 100644 --- a/examples/database-postgresql/src/main/java/io/quarkus/qe/database/postgresql/Book.java +++ b/examples/database-postgresql/src/main/java/io/quarkus/qe/database/postgresql/Book.java @@ -1,10 +1,11 @@ package io.quarkus.qe.database.postgresql; -import io.quarkus.hibernate.orm.panache.PanacheEntity; import jakarta.persistence.Entity; import jakarta.persistence.Table; import jakarta.validation.constraints.NotBlank; +import io.quarkus.hibernate.orm.panache.PanacheEntity; + @Entity @Table(name = "book") public class Book extends PanacheEntity { diff --git a/examples/database-postgresql/src/main/java/io/quarkus/qe/database/postgresql/BookResource.java b/examples/database-postgresql/src/main/java/io/quarkus/qe/database/postgresql/BookResource.java index 41490be25..1035a1d56 100644 --- a/examples/database-postgresql/src/main/java/io/quarkus/qe/database/postgresql/BookResource.java +++ b/examples/database-postgresql/src/main/java/io/quarkus/qe/database/postgresql/BookResource.java @@ -2,7 +2,6 @@ import java.util.List; -import io.quarkus.panache.common.Sort; import jakarta.transaction.Transactional; import jakarta.validation.Valid; import jakarta.ws.rs.ClientErrorException; @@ -18,6 +17,8 @@ import jakarta.ws.rs.core.MediaType; import jakarta.ws.rs.core.Response; +import io.quarkus.panache.common.Sort; + @Path("/book") @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) diff --git a/examples/database-postgresql/src/main/java/io/quarkus/qe/database/postgresql/ValidationExceptionMapper.java b/examples/database-postgresql/src/main/java/io/quarkus/qe/database/postgresql/ValidationExceptionMapper.java index af8277d32..9a7011c7c 100644 --- a/examples/database-postgresql/src/main/java/io/quarkus/qe/database/postgresql/ValidationExceptionMapper.java +++ b/examples/database-postgresql/src/main/java/io/quarkus/qe/database/postgresql/ValidationExceptionMapper.java @@ -1,8 +1,5 @@ package io.quarkus.qe.database.postgresql; -import com.fasterxml.jackson.databind.ObjectMapper; -import com.fasterxml.jackson.databind.node.ArrayNode; - import jakarta.validation.ConstraintViolation; import jakarta.validation.ConstraintViolationException; import jakarta.ws.rs.core.MediaType; @@ -10,6 +7,9 @@ import jakarta.ws.rs.ext.ExceptionMapper; import jakarta.ws.rs.ext.Provider; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.node.ArrayNode; + @Provider public class ValidationExceptionMapper implements ExceptionMapper { diff --git a/examples/funqy-knative-events/src/main/java/io/quarkus/qe/funqy/knativeevents/BrokerClient.java b/examples/funqy-knative-events/src/main/java/io/quarkus/qe/funqy/knativeevents/BrokerClient.java index 06b3b828d..223f0645f 100644 --- a/examples/funqy-knative-events/src/main/java/io/quarkus/qe/funqy/knativeevents/BrokerClient.java +++ b/examples/funqy-knative-events/src/main/java/io/quarkus/qe/funqy/knativeevents/BrokerClient.java @@ -2,11 +2,6 @@ import java.util.UUID; -import org.eclipse.microprofile.rest.client.annotation.ClientHeaderParam; -import org.eclipse.microprofile.rest.client.annotation.RegisterClientHeaders; -import org.eclipse.microprofile.rest.client.ext.ClientHeadersFactory; -import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; - import jakarta.enterprise.context.ApplicationScoped; import jakarta.ws.rs.Consumes; import jakarta.ws.rs.HeaderParam; @@ -16,6 +11,11 @@ import jakarta.ws.rs.core.MultivaluedHashMap; import jakarta.ws.rs.core.MultivaluedMap; +import org.eclipse.microprofile.rest.client.annotation.ClientHeaderParam; +import org.eclipse.microprofile.rest.client.annotation.RegisterClientHeaders; +import org.eclipse.microprofile.rest.client.ext.ClientHeadersFactory; +import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; + /** * BrokerClient enables sending of events to the broker. */ diff --git a/examples/greetings/src/main/java/io/quarkus/qe/GreetingResource.java b/examples/greetings/src/main/java/io/quarkus/qe/GreetingResource.java index 40b44df5c..ba882aebd 100644 --- a/examples/greetings/src/main/java/io/quarkus/qe/GreetingResource.java +++ b/examples/greetings/src/main/java/io/quarkus/qe/GreetingResource.java @@ -2,13 +2,13 @@ import java.io.IOException; -import org.eclipse.microprofile.config.inject.ConfigProperty; - import jakarta.ws.rs.GET; import jakarta.ws.rs.Path; import jakarta.ws.rs.Produces; import jakarta.ws.rs.core.MediaType; +import org.eclipse.microprofile.config.inject.ConfigProperty; + @Path("/greeting") public class GreetingResource { diff --git a/examples/greetings/src/main/java/io/quarkus/qe/ReactiveGreetingResource.java b/examples/greetings/src/main/java/io/quarkus/qe/ReactiveGreetingResource.java index 7e989bda6..a207bf788 100644 --- a/examples/greetings/src/main/java/io/quarkus/qe/ReactiveGreetingResource.java +++ b/examples/greetings/src/main/java/io/quarkus/qe/ReactiveGreetingResource.java @@ -1,13 +1,14 @@ package io.quarkus.qe; -import org.eclipse.microprofile.config.inject.ConfigProperty; - -import io.smallrye.mutiny.Uni; import jakarta.ws.rs.GET; import jakarta.ws.rs.Path; import jakarta.ws.rs.Produces; import jakarta.ws.rs.core.MediaType; +import org.eclipse.microprofile.config.inject.ConfigProperty; + +import io.smallrye.mutiny.Uni; + @Path("/reactive-greeting") public class ReactiveGreetingResource { diff --git a/examples/greetings/src/main/java/io/quarkus/qe/ValidateCustomProperty.java b/examples/greetings/src/main/java/io/quarkus/qe/ValidateCustomProperty.java index 26837e695..d0f448407 100644 --- a/examples/greetings/src/main/java/io/quarkus/qe/ValidateCustomProperty.java +++ b/examples/greetings/src/main/java/io/quarkus/qe/ValidateCustomProperty.java @@ -1,11 +1,12 @@ package io.quarkus.qe; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.enterprise.event.Observes; + import org.eclipse.microprofile.config.inject.ConfigProperty; import org.jboss.logging.Logger; import io.quarkus.runtime.StartupEvent; -import jakarta.enterprise.context.ApplicationScoped; -import jakarta.enterprise.event.Observes; @ApplicationScoped public class ValidateCustomProperty { diff --git a/examples/infinispan/src/main/java/io/quarkus/qe/books/Book.java b/examples/infinispan/src/main/java/io/quarkus/qe/books/Book.java index ad76d85c2..b5331cafe 100644 --- a/examples/infinispan/src/main/java/io/quarkus/qe/books/Book.java +++ b/examples/infinispan/src/main/java/io/quarkus/qe/books/Book.java @@ -2,11 +2,11 @@ import java.util.Objects; +import jakarta.validation.constraints.NotBlank; + import org.infinispan.protostream.annotations.ProtoFactory; import org.infinispan.protostream.annotations.ProtoField; -import jakarta.validation.constraints.NotBlank; - public class Book { private static final int ONE = 1; diff --git a/examples/infinispan/src/main/java/io/quarkus/qe/books/BookCacheInitializer.java b/examples/infinispan/src/main/java/io/quarkus/qe/books/BookCacheInitializer.java index 687b7953a..bab376d1d 100644 --- a/examples/infinispan/src/main/java/io/quarkus/qe/books/BookCacheInitializer.java +++ b/examples/infinispan/src/main/java/io/quarkus/qe/books/BookCacheInitializer.java @@ -1,12 +1,13 @@ package io.quarkus.qe.books; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.enterprise.event.Observes; +import jakarta.inject.Inject; + import org.infinispan.client.hotrod.RemoteCacheManager; import org.infinispan.commons.configuration.XMLStringConfiguration; import io.quarkus.runtime.StartupEvent; -import jakarta.enterprise.context.ApplicationScoped; -import jakarta.enterprise.event.Observes; -import jakarta.inject.Inject; @ApplicationScoped public class BookCacheInitializer { diff --git a/examples/infinispan/src/main/java/io/quarkus/qe/books/BookResource.java b/examples/infinispan/src/main/java/io/quarkus/qe/books/BookResource.java index b869a4711..724953908 100644 --- a/examples/infinispan/src/main/java/io/quarkus/qe/books/BookResource.java +++ b/examples/infinispan/src/main/java/io/quarkus/qe/books/BookResource.java @@ -1,8 +1,5 @@ package io.quarkus.qe.books; -import org.infinispan.client.hotrod.RemoteCache; - -import io.quarkus.infinispan.client.Remote; import jakarta.inject.Inject; import jakarta.validation.Valid; import jakarta.ws.rs.Consumes; @@ -13,6 +10,10 @@ import jakarta.ws.rs.Produces; import jakarta.ws.rs.core.MediaType; +import org.infinispan.client.hotrod.RemoteCache; + +import io.quarkus.infinispan.client.Remote; + @Path("/book") public class BookResource { diff --git a/examples/jaeger/src/main/java/io/quarkus/qe/ClientResource.java b/examples/jaeger/src/main/java/io/quarkus/qe/ClientResource.java index f145c7bd0..44e6ea403 100644 --- a/examples/jaeger/src/main/java/io/quarkus/qe/ClientResource.java +++ b/examples/jaeger/src/main/java/io/quarkus/qe/ClientResource.java @@ -1,11 +1,12 @@ package io.quarkus.qe; -import io.opentelemetry.api.trace.Span; import jakarta.ws.rs.GET; import jakarta.ws.rs.Path; import jakarta.ws.rs.Produces; import jakarta.ws.rs.core.MediaType; +import io.opentelemetry.api.trace.Span; + @Path("/client") public class ClientResource { diff --git a/examples/kafka-registry/src/main/java/io/quarkus/qe/kafka/VerticleDeployer.java b/examples/kafka-registry/src/main/java/io/quarkus/qe/kafka/VerticleDeployer.java index a6c0b9d89..2da078489 100644 --- a/examples/kafka-registry/src/main/java/io/quarkus/qe/kafka/VerticleDeployer.java +++ b/examples/kafka-registry/src/main/java/io/quarkus/qe/kafka/VerticleDeployer.java @@ -1,14 +1,15 @@ package io.quarkus.qe.kafka; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.enterprise.event.Observes; +import jakarta.enterprise.inject.Instance; +import jakarta.inject.Inject; + import io.quarkus.qe.kafka.config.VertxKProducerConfig; import io.quarkus.qe.kafka.producers.StockPriceProducer; import io.quarkus.runtime.StartupEvent; import io.smallrye.mutiny.vertx.core.AbstractVerticle; import io.vertx.mutiny.core.Vertx; -import jakarta.enterprise.context.ApplicationScoped; -import jakarta.enterprise.event.Observes; -import jakarta.enterprise.inject.Instance; -import jakarta.inject.Inject; @ApplicationScoped public class VerticleDeployer { diff --git a/examples/kafka-registry/src/main/java/io/quarkus/qe/kafka/consumer/KStockPriceConsumer.java b/examples/kafka-registry/src/main/java/io/quarkus/qe/kafka/consumer/KStockPriceConsumer.java index e05a4f998..45d093973 100644 --- a/examples/kafka-registry/src/main/java/io/quarkus/qe/kafka/consumer/KStockPriceConsumer.java +++ b/examples/kafka-registry/src/main/java/io/quarkus/qe/kafka/consumer/KStockPriceConsumer.java @@ -2,6 +2,9 @@ import java.util.function.BiConsumer; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; + import org.eclipse.microprofile.reactive.messaging.Acknowledgment; import org.eclipse.microprofile.reactive.messaging.Channel; import org.eclipse.microprofile.reactive.messaging.Emitter; @@ -15,8 +18,6 @@ import io.smallrye.mutiny.Uni; import io.smallrye.mutiny.vertx.core.AbstractVerticle; import io.smallrye.reactive.messaging.annotations.Broadcast; -import jakarta.enterprise.context.ApplicationScoped; -import jakarta.inject.Inject; @ApplicationScoped public class KStockPriceConsumer extends AbstractVerticle { diff --git a/examples/kafka-registry/src/main/java/io/quarkus/qe/kafka/producers/StockPriceProducer.java b/examples/kafka-registry/src/main/java/io/quarkus/qe/kafka/producers/StockPriceProducer.java index 178e996e3..77bccf716 100644 --- a/examples/kafka-registry/src/main/java/io/quarkus/qe/kafka/producers/StockPriceProducer.java +++ b/examples/kafka-registry/src/main/java/io/quarkus/qe/kafka/producers/StockPriceProducer.java @@ -4,6 +4,9 @@ import java.util.function.BiConsumer; import java.util.stream.IntStream; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; + import org.eclipse.microprofile.reactive.messaging.Channel; import org.eclipse.microprofile.reactive.messaging.Emitter; import org.eclipse.microprofile.reactive.messaging.OnOverflow; @@ -13,8 +16,6 @@ import io.quarkus.qe.kafka.config.VertxKProducerConfig; import io.quarkus.qe.kafka.status; import io.smallrye.mutiny.Uni; -import jakarta.enterprise.context.ApplicationScoped; -import jakarta.inject.Inject; @ApplicationScoped public class StockPriceProducer { diff --git a/examples/kafka-registry/src/main/java/io/quarkus/qe/kafka/rest/StockPriceMonitor.java b/examples/kafka-registry/src/main/java/io/quarkus/qe/kafka/rest/StockPriceMonitor.java index 1e957046f..e9b90333b 100644 --- a/examples/kafka-registry/src/main/java/io/quarkus/qe/kafka/rest/StockPriceMonitor.java +++ b/examples/kafka-registry/src/main/java/io/quarkus/qe/kafka/rest/StockPriceMonitor.java @@ -1,15 +1,15 @@ package io.quarkus.qe.kafka.rest; -import org.eclipse.microprofile.reactive.messaging.Channel; -import org.jboss.resteasy.annotations.SseElementType; -import org.reactivestreams.Publisher; - import jakarta.inject.Inject; import jakarta.ws.rs.GET; import jakarta.ws.rs.Path; import jakarta.ws.rs.Produces; import jakarta.ws.rs.core.MediaType; +import org.eclipse.microprofile.reactive.messaging.Channel; +import org.jboss.resteasy.annotations.SseElementType; +import org.reactivestreams.Publisher; + @Path("/stock") public class StockPriceMonitor { diff --git a/examples/kafka-registry/src/test/java/io/quarkus/qe/ConfluentKafkaWithRegistryMessagingIT.java b/examples/kafka-registry/src/test/java/io/quarkus/qe/ConfluentKafkaWithRegistryMessagingIT.java index cb79aa450..0eccc0c27 100644 --- a/examples/kafka-registry/src/test/java/io/quarkus/qe/ConfluentKafkaWithRegistryMessagingIT.java +++ b/examples/kafka-registry/src/test/java/io/quarkus/qe/ConfluentKafkaWithRegistryMessagingIT.java @@ -5,6 +5,11 @@ import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; +import jakarta.ws.rs.client.Client; +import jakarta.ws.rs.client.ClientBuilder; +import jakarta.ws.rs.client.WebTarget; +import jakarta.ws.rs.sse.SseEventSource; + import org.junit.jupiter.api.Test; import io.quarkus.test.bootstrap.KafkaService; @@ -14,10 +19,6 @@ import io.quarkus.test.services.KafkaContainer; import io.quarkus.test.services.QuarkusApplication; import io.quarkus.test.services.containers.model.KafkaVendor; -import jakarta.ws.rs.client.Client; -import jakarta.ws.rs.client.ClientBuilder; -import jakarta.ws.rs.client.WebTarget; -import jakarta.ws.rs.sse.SseEventSource; @QuarkusScenario public class ConfluentKafkaWithRegistryMessagingIT { diff --git a/examples/kafka-registry/src/test/java/io/quarkus/qe/StrimziKafkaWithRegistryMessagingIT.java b/examples/kafka-registry/src/test/java/io/quarkus/qe/StrimziKafkaWithRegistryMessagingIT.java index b862f80f6..1c433c988 100644 --- a/examples/kafka-registry/src/test/java/io/quarkus/qe/StrimziKafkaWithRegistryMessagingIT.java +++ b/examples/kafka-registry/src/test/java/io/quarkus/qe/StrimziKafkaWithRegistryMessagingIT.java @@ -6,6 +6,11 @@ import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; +import jakarta.ws.rs.client.Client; +import jakarta.ws.rs.client.ClientBuilder; +import jakarta.ws.rs.client.WebTarget; +import jakarta.ws.rs.sse.SseEventSource; + import org.junit.jupiter.api.Test; import io.quarkus.test.bootstrap.KafkaService; @@ -15,10 +20,6 @@ import io.quarkus.test.services.KafkaContainer; import io.quarkus.test.services.QuarkusApplication; import io.quarkus.test.services.containers.model.KafkaVendor; -import jakarta.ws.rs.client.Client; -import jakarta.ws.rs.client.ClientBuilder; -import jakarta.ws.rs.client.WebTarget; -import jakarta.ws.rs.sse.SseEventSource; @QuarkusScenario public class StrimziKafkaWithRegistryMessagingIT { diff --git a/examples/kafka-streams/src/main/java/io/quarkus/qe/kafka/producer/LoginEventsProducer.java b/examples/kafka-streams/src/main/java/io/quarkus/qe/kafka/producer/LoginEventsProducer.java index 00581d85b..53bfe9f73 100644 --- a/examples/kafka-streams/src/main/java/io/quarkus/qe/kafka/producer/LoginEventsProducer.java +++ b/examples/kafka-streams/src/main/java/io/quarkus/qe/kafka/producer/LoginEventsProducer.java @@ -5,6 +5,8 @@ import java.util.List; import java.util.Random; +import jakarta.enterprise.context.ApplicationScoped; + import org.eclipse.microprofile.config.inject.ConfigProperty; import org.eclipse.microprofile.reactive.messaging.Outgoing; @@ -13,7 +15,6 @@ import io.smallrye.mutiny.Multi; import io.smallrye.reactive.messaging.kafka.Record; import io.vertx.core.json.Json; -import jakarta.enterprise.context.ApplicationScoped; @ApplicationScoped public class LoginEventsProducer { diff --git a/examples/kafka-streams/src/main/java/io/quarkus/qe/kafka/rest/AlertMonitor.java b/examples/kafka-streams/src/main/java/io/quarkus/qe/kafka/rest/AlertMonitor.java index 3ba0f0e3b..953f26f2d 100644 --- a/examples/kafka-streams/src/main/java/io/quarkus/qe/kafka/rest/AlertMonitor.java +++ b/examples/kafka-streams/src/main/java/io/quarkus/qe/kafka/rest/AlertMonitor.java @@ -1,16 +1,17 @@ package io.quarkus.qe.kafka.rest; -import org.eclipse.microprofile.reactive.messaging.Channel; -import org.jboss.resteasy.annotations.SseElementType; -import org.reactivestreams.Publisher; - -import io.quarkus.qe.kafka.streams.WindowedLoginDeniedStream; import jakarta.inject.Inject; import jakarta.ws.rs.GET; import jakarta.ws.rs.Path; import jakarta.ws.rs.Produces; import jakarta.ws.rs.core.MediaType; +import org.eclipse.microprofile.reactive.messaging.Channel; +import org.jboss.resteasy.annotations.SseElementType; +import org.reactivestreams.Publisher; + +import io.quarkus.qe.kafka.streams.WindowedLoginDeniedStream; + @Path("/monitor") public class AlertMonitor { diff --git a/examples/kafka-streams/src/main/java/io/quarkus/qe/kafka/streams/WindowedLoginDeniedStream.java b/examples/kafka-streams/src/main/java/io/quarkus/qe/kafka/streams/WindowedLoginDeniedStream.java index 6f13fa5ad..6c52c9fe3 100644 --- a/examples/kafka-streams/src/main/java/io/quarkus/qe/kafka/streams/WindowedLoginDeniedStream.java +++ b/examples/kafka-streams/src/main/java/io/quarkus/qe/kafka/streams/WindowedLoginDeniedStream.java @@ -5,6 +5,9 @@ import java.time.Duration; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.enterprise.inject.Produces; + import org.apache.kafka.common.serialization.Serdes; import org.apache.kafka.common.utils.Bytes; import org.apache.kafka.streams.StreamsBuilder; @@ -21,8 +24,6 @@ import io.quarkus.qe.kafka.model.LoginAggregation; import io.quarkus.qe.kafka.model.LoginAttempt; import io.smallrye.reactive.messaging.annotations.Broadcast; -import jakarta.enterprise.context.ApplicationScoped; -import jakarta.enterprise.inject.Produces; @ApplicationScoped public class WindowedLoginDeniedStream { diff --git a/examples/kafka-streams/src/test/java/io/quarkus/qe/AlertMonitorIT.java b/examples/kafka-streams/src/test/java/io/quarkus/qe/AlertMonitorIT.java index ce6372895..189706c86 100644 --- a/examples/kafka-streams/src/test/java/io/quarkus/qe/AlertMonitorIT.java +++ b/examples/kafka-streams/src/test/java/io/quarkus/qe/AlertMonitorIT.java @@ -5,6 +5,11 @@ import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; +import jakarta.ws.rs.client.Client; +import jakarta.ws.rs.client.ClientBuilder; +import jakarta.ws.rs.client.WebTarget; +import jakarta.ws.rs.sse.SseEventSource; + import org.junit.jupiter.api.Test; import io.quarkus.test.bootstrap.KafkaService; @@ -14,10 +19,6 @@ import io.quarkus.test.services.KafkaContainer; import io.quarkus.test.services.QuarkusApplication; import io.quarkus.test.services.containers.model.KafkaVendor; -import jakarta.ws.rs.client.Client; -import jakarta.ws.rs.client.ClientBuilder; -import jakarta.ws.rs.client.WebTarget; -import jakarta.ws.rs.sse.SseEventSource; @QuarkusScenario public class AlertMonitorIT { diff --git a/examples/kafka/src/main/java/io/quarkus/qe/PriceConsumer.java b/examples/kafka/src/main/java/io/quarkus/qe/PriceConsumer.java index 3ad1d7354..2d5b0beee 100644 --- a/examples/kafka/src/main/java/io/quarkus/qe/PriceConsumer.java +++ b/examples/kafka/src/main/java/io/quarkus/qe/PriceConsumer.java @@ -3,10 +3,10 @@ import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; -import org.eclipse.microprofile.reactive.messaging.Incoming; - import jakarta.enterprise.context.ApplicationScoped; +import org.eclipse.microprofile.reactive.messaging.Incoming; + /** * A simple resource retrieving the in-memory "my-data-stream" and sending the items as server-sent events. */ diff --git a/examples/kafka/src/main/java/io/quarkus/qe/PriceConverter.java b/examples/kafka/src/main/java/io/quarkus/qe/PriceConverter.java index cff6dc5af..ec4ce6c18 100644 --- a/examples/kafka/src/main/java/io/quarkus/qe/PriceConverter.java +++ b/examples/kafka/src/main/java/io/quarkus/qe/PriceConverter.java @@ -1,10 +1,11 @@ package io.quarkus.qe; +import jakarta.enterprise.context.ApplicationScoped; + import org.eclipse.microprofile.reactive.messaging.Incoming; import org.eclipse.microprofile.reactive.messaging.Outgoing; import io.smallrye.reactive.messaging.annotations.Broadcast; -import jakarta.enterprise.context.ApplicationScoped; /** * A bean consuming data from the "prices" Kafka topic and applying some conversion. diff --git a/examples/kafka/src/main/java/io/quarkus/qe/PriceGenerator.java b/examples/kafka/src/main/java/io/quarkus/qe/PriceGenerator.java index 15e1584b3..5ee784444 100644 --- a/examples/kafka/src/main/java/io/quarkus/qe/PriceGenerator.java +++ b/examples/kafka/src/main/java/io/quarkus/qe/PriceGenerator.java @@ -3,10 +3,11 @@ import java.time.Duration; import java.util.Random; +import jakarta.enterprise.context.ApplicationScoped; + import org.eclipse.microprofile.reactive.messaging.Outgoing; import io.smallrye.mutiny.Multi; -import jakarta.enterprise.context.ApplicationScoped; /** * A bean producing random prices every 1 seconds. diff --git a/examples/keycloak/src/main/java/io/quarkus/qe/AdminResource.java b/examples/keycloak/src/main/java/io/quarkus/qe/AdminResource.java index 60d632fe7..37edf9906 100644 --- a/examples/keycloak/src/main/java/io/quarkus/qe/AdminResource.java +++ b/examples/keycloak/src/main/java/io/quarkus/qe/AdminResource.java @@ -1,8 +1,5 @@ package io.quarkus.qe; -import org.eclipse.microprofile.jwt.JsonWebToken; - -import io.quarkus.security.identity.SecurityIdentity; import jakarta.annotation.security.RolesAllowed; import jakarta.inject.Inject; import jakarta.ws.rs.GET; @@ -10,6 +7,10 @@ import jakarta.ws.rs.Produces; import jakarta.ws.rs.core.MediaType; +import org.eclipse.microprofile.jwt.JsonWebToken; + +import io.quarkus.security.identity.SecurityIdentity; + @Path("/admin") @RolesAllowed("test-admin-role") public class AdminResource { diff --git a/examples/keycloak/src/main/java/io/quarkus/qe/UserResource.java b/examples/keycloak/src/main/java/io/quarkus/qe/UserResource.java index e499681df..45431f906 100644 --- a/examples/keycloak/src/main/java/io/quarkus/qe/UserResource.java +++ b/examples/keycloak/src/main/java/io/quarkus/qe/UserResource.java @@ -1,8 +1,5 @@ package io.quarkus.qe; -import org.eclipse.microprofile.jwt.JsonWebToken; - -import io.quarkus.security.identity.SecurityIdentity; import jakarta.annotation.security.RolesAllowed; import jakarta.inject.Inject; import jakarta.ws.rs.GET; @@ -10,6 +7,10 @@ import jakarta.ws.rs.Produces; import jakarta.ws.rs.core.MediaType; +import org.eclipse.microprofile.jwt.JsonWebToken; + +import io.quarkus.security.identity.SecurityIdentity; + @Path("/user") @RolesAllowed("test-user-role") public class UserResource { diff --git a/examples/quarkus-cli/src/test/java/io/quarkus/qe/QuarkusCliClientIT.java b/examples/quarkus-cli/src/test/java/io/quarkus/qe/QuarkusCliClientIT.java index 785a9bd11..5b7f62394 100644 --- a/examples/quarkus-cli/src/test/java/io/quarkus/qe/QuarkusCliClientIT.java +++ b/examples/quarkus-cli/src/test/java/io/quarkus/qe/QuarkusCliClientIT.java @@ -9,7 +9,7 @@ import java.util.concurrent.TimeUnit; import java.util.stream.Stream; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.apache.http.HttpStatus; import org.junit.jupiter.api.Tag; diff --git a/examples/quarkus-helm/src/main/java/io/quarkus/qe/GreetingResource.java b/examples/quarkus-helm/src/main/java/io/quarkus/qe/GreetingResource.java index d24ab9ef4..e1ccd7b20 100644 --- a/examples/quarkus-helm/src/main/java/io/quarkus/qe/GreetingResource.java +++ b/examples/quarkus-helm/src/main/java/io/quarkus/qe/GreetingResource.java @@ -1,9 +1,9 @@ package io.quarkus.qe; -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.Produces; -import javax.ws.rs.core.MediaType; +import jakarta.ws.rs.GET; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.core.MediaType; @Path("/greeting") public class GreetingResource { diff --git a/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/CommonHelmScenarios.java b/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/CommonHelmScenarios.java index 5badc4c78..23d3cc91c 100644 --- a/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/CommonHelmScenarios.java +++ b/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/CommonHelmScenarios.java @@ -11,7 +11,7 @@ import java.util.List; import java.util.stream.Collectors; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.hamcrest.Matchers; import org.junit.jupiter.api.Test; diff --git a/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/KubernetesQuarkusHelmClientIT.java b/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/KubernetesQuarkusHelmClientIT.java index 47cd02213..44f6a379d 100644 --- a/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/KubernetesQuarkusHelmClientIT.java +++ b/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/KubernetesQuarkusHelmClientIT.java @@ -1,6 +1,6 @@ package io.quarkus.qe.helm; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.junit.jupiter.api.Disabled; diff --git a/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/OpenShiftQuarkusHelmClientIT.java b/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/OpenShiftQuarkusHelmClientIT.java index d4bda4fac..4d23dd4c4 100644 --- a/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/OpenShiftQuarkusHelmClientIT.java +++ b/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/OpenShiftQuarkusHelmClientIT.java @@ -1,6 +1,6 @@ package io.quarkus.qe.helm; -import javax.inject.Inject; +import jakarta.inject.Inject; import io.quarkus.test.bootstrap.QuarkusHelmClient; import io.quarkus.test.scenarios.OpenShiftScenario; diff --git a/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/QuarkusHelmFileClientIT.java b/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/QuarkusHelmFileClientIT.java index 4814e0430..bf2135e2c 100644 --- a/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/QuarkusHelmFileClientIT.java +++ b/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/QuarkusHelmFileClientIT.java @@ -6,7 +6,7 @@ import java.nio.file.Path; import java.nio.file.Paths; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; diff --git a/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/QuarkusKubernetesHelmClientIT.java b/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/QuarkusKubernetesHelmClientIT.java index db6e1f79b..20d26f6a6 100644 --- a/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/QuarkusKubernetesHelmClientIT.java +++ b/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/QuarkusKubernetesHelmClientIT.java @@ -6,7 +6,7 @@ import java.io.FileNotFoundException; import java.util.Map; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.junit.jupiter.api.Test; diff --git a/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/QuarkusOpenShiftHelmClientIT.java b/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/QuarkusOpenShiftHelmClientIT.java index 8d25c31b7..d641a8345 100644 --- a/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/QuarkusOpenShiftHelmClientIT.java +++ b/examples/quarkus-helm/src/test/java/io/quarkus/qe/helm/QuarkusOpenShiftHelmClientIT.java @@ -5,7 +5,7 @@ import java.io.FileNotFoundException; import java.util.Map; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.junit.jupiter.api.Test; diff --git a/examples/restclient/src/main/java/io/quarkus/qe/PingResource.java b/examples/restclient/src/main/java/io/quarkus/qe/PingResource.java index cca64dcbd..befdc09b0 100644 --- a/examples/restclient/src/main/java/io/quarkus/qe/PingResource.java +++ b/examples/restclient/src/main/java/io/quarkus/qe/PingResource.java @@ -1,13 +1,13 @@ package io.quarkus.qe; -import org.eclipse.microprofile.rest.client.inject.RestClient; - import jakarta.inject.Inject; import jakarta.ws.rs.GET; import jakarta.ws.rs.Path; import jakarta.ws.rs.Produces; import jakarta.ws.rs.core.MediaType; +import org.eclipse.microprofile.rest.client.inject.RestClient; + @Path("/ping") public class PingResource { diff --git a/examples/restclient/src/main/java/io/quarkus/qe/PongClient.java b/examples/restclient/src/main/java/io/quarkus/qe/PongClient.java index 7af0d16d5..37d6d5486 100644 --- a/examples/restclient/src/main/java/io/quarkus/qe/PongClient.java +++ b/examples/restclient/src/main/java/io/quarkus/qe/PongClient.java @@ -1,12 +1,12 @@ package io.quarkus.qe; -import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; - import jakarta.ws.rs.GET; import jakarta.ws.rs.Path; import jakarta.ws.rs.Produces; import jakarta.ws.rs.core.MediaType; +import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; + @RegisterRestClient @Path("/pong") public interface PongClient { diff --git a/pom.xml b/pom.xml index a926bb21f..a55662843 100644 --- a/pom.xml +++ b/pom.xml @@ -281,7 +281,7 @@ .cache - java.,javax.,org.,com. + java.,javax.,jakarta.,org.,com. * true diff --git a/quarkus-test-cli/src/test/java/io/quarkus/test/QuarkusCliClientIT.java b/quarkus-test-cli/src/test/java/io/quarkus/test/QuarkusCliClientIT.java index 2a5d0bcca..c3fb27d7d 100644 --- a/quarkus-test-cli/src/test/java/io/quarkus/test/QuarkusCliClientIT.java +++ b/quarkus-test-cli/src/test/java/io/quarkus/test/QuarkusCliClientIT.java @@ -11,7 +11,7 @@ import java.util.concurrent.TimeUnit; import java.util.stream.Stream; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.apache.http.HttpStatus; import org.junit.jupiter.api.Tag; diff --git a/quarkus-test-core/src/main/java/io/quarkus/test/bootstrap/QuarkusScenarioBootstrap.java b/quarkus-test-core/src/main/java/io/quarkus/test/bootstrap/QuarkusScenarioBootstrap.java index 3caa2bce5..8642513b5 100644 --- a/quarkus-test-core/src/main/java/io/quarkus/test/bootstrap/QuarkusScenarioBootstrap.java +++ b/quarkus-test-core/src/main/java/io/quarkus/test/bootstrap/QuarkusScenarioBootstrap.java @@ -10,7 +10,7 @@ import java.util.ServiceLoader; import java.util.ServiceLoader.Provider; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.junit.jupiter.api.extension.AfterAllCallback; import org.junit.jupiter.api.extension.AfterEachCallback; diff --git a/quarkus-test-helm/src/test/java/io/quarkus/test/QuarkusHelmClientIT.java b/quarkus-test-helm/src/test/java/io/quarkus/test/QuarkusHelmClientIT.java index 624ba4884..df3aab9cc 100644 --- a/quarkus-test-helm/src/test/java/io/quarkus/test/QuarkusHelmClientIT.java +++ b/quarkus-test-helm/src/test/java/io/quarkus/test/QuarkusHelmClientIT.java @@ -1,6 +1,6 @@ package io.quarkus.test; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Tag; diff --git a/quarkus-test-kubernetes/src/test/java/io/quarkus/qe/KubernetesUsingClientsIT.java b/quarkus-test-kubernetes/src/test/java/io/quarkus/qe/KubernetesUsingClientsIT.java index bba60f553..2535a00bc 100644 --- a/quarkus-test-kubernetes/src/test/java/io/quarkus/qe/KubernetesUsingClientsIT.java +++ b/quarkus-test-kubernetes/src/test/java/io/quarkus/qe/KubernetesUsingClientsIT.java @@ -2,7 +2,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.junit.jupiter.api.Test; diff --git a/quarkus-test-openshift/src/test/java/io/quarkus/qe/OpenShiftUsingClientsIT.java b/quarkus-test-openshift/src/test/java/io/quarkus/qe/OpenShiftUsingClientsIT.java index 3f6ec214a..e0d358a19 100644 --- a/quarkus-test-openshift/src/test/java/io/quarkus/qe/OpenShiftUsingClientsIT.java +++ b/quarkus-test-openshift/src/test/java/io/quarkus/qe/OpenShiftUsingClientsIT.java @@ -2,7 +2,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.junit.jupiter.api.Test;