Skip to content

Commit

Permalink
Removed redundant qualifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakky54 committed Sep 4, 2024
1 parent 3afdf1a commit ddd08c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/src/main/java/nl/altindag/client/ClientConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit ddd08c4

Please sign in to comment.