From ddd08c4ef4331ef1267ee6814b03e84366dbaf0f Mon Sep 17 00:00:00 2001 From: Hakky54 Date: Wed, 4 Sep 2024 15:28:36 +0200 Subject: [PATCH] Removed redundant qualifier --- client/src/main/java/nl/altindag/client/ClientConfig.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/main/java/nl/altindag/client/ClientConfig.java b/client/src/main/java/nl/altindag/client/ClientConfig.java index 4a9c730..b42815c 100644 --- a/client/src/main/java/nl/altindag/client/ClientConfig.java +++ b/client/src/main/java/nl/altindag/client/ClientConfig.java @@ -192,8 +192,7 @@ public com.sun.jersey.api.client.Client oldJerseyClient(SSLFactory sslFactory) { * JAX-RS configuration should be identical to {@link #jerseyClient(SSLFactory)} once CXF update to version 3.5.0 * But this function is still necessary to create CXF version of client that does not depend on Java SPI (/META-INF/services/javax.ws.rs.client.ClientBuilder) */ - @Bean - @Qualifier("cxf") + @Bean("cxf") public javax.ws.rs.client.Client cxfJaxRsClient(SSLFactory sslFactory) { // One can just use ClientBuilder.newBuilder(), Explicit use here is due to multiple JAX-RS implementations in classpath return new org.apache.cxf.jaxrs.client.spec.ClientBuilderImpl()