This is an automated email from the ASF dual-hosted git repository.

ffang pushed a commit to branch 3.6.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit 5a71e72e4948214e53cc5d74aa201faa9d236a5c
Author: Freeman Fang <[email protected]>
AuthorDate: Thu Nov 14 18:57:51 2024 -0500

    [CXF-9052]fix compilation failure
---
 .../org/apache/cxf/systest/jaxrs/failover/CXF9052Test.java   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/failover/CXF9052Test.java
 
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/failover/CXF9052Test.java
index fd4891bc4f..8a5be7ec4d 100644
--- 
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/failover/CXF9052Test.java
+++ 
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/failover/CXF9052Test.java
@@ -21,8 +21,8 @@ package org.apache.cxf.systest.jaxrs.failover;
 
 import java.util.List;
 
-import jakarta.ws.rs.GET;
-import jakarta.ws.rs.Path;
+import javax.ws.rs.GET;
+import javax.ws.rs.Path;
 import org.apache.cxf.clustering.FailoverFeature;
 import org.apache.cxf.clustering.LoadDistributorFeature;
 import org.apache.cxf.clustering.SequentialStrategy;
@@ -39,26 +39,26 @@ public class CXF9052Test {
     
     @Test
     public void failover() {
-        var failover = new FailoverFeature();
+        FailoverFeature failover = new FailoverFeature();
         failover.setStrategy(makeStrategy());
         makeRequest(List.of(failover));
     }
     
     @Test
     public void loadDistributor() {
-        var distro = new LoadDistributorFeature();
+        LoadDistributorFeature distro = new LoadDistributorFeature();
         distro.setStrategy(makeStrategy());
         makeRequest(List.of(distro));
     }
 
     private static SequentialStrategy makeStrategy() {
-        var s = new SequentialStrategy();
+        SequentialStrategy s = new SequentialStrategy();
         s.setAlternateAddresses(List.of("http://localhost:1234/test";));
         return s;
     }
 
     private static void makeRequest(List<Feature> features) {
-        var fct = new JAXRSClientFactoryBean();
+        JAXRSClientFactoryBean fct = new JAXRSClientFactoryBean();
         fct.setFeatures(features);
         fct.setServiceClass(Root.class);
         fct.setAddress("http://localhost:1234/test";);

Reply via email to