You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by jp...@apache.org on 2024/11/25 13:17:57 UTC
(camel) 02/03: [CAMEL-21302]remove unnecessary package import
This is an automated email from the ASF dual-hosted git repository.
jpoth pushed a commit to branch CAMEL-21387
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 523e7962c69d4ccf101e10891ba46ff2b142bc47
Author: Freeman Fang <fr...@gmail.com>
AuthorDate: Fri Oct 18 11:37:13 2024 -0400
[CAMEL-21302]remove unnecessary package import
---
.../main/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducer.java | 2 --
.../src/main/java/org/apache/camel/component/cxf/jaxws/CxfProducer.java | 2 --
2 files changed, 4 deletions(-)
diff --git a/components/camel-cxf/camel-cxf-rest/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducer.java b/components/camel-cxf/camel-cxf-rest/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducer.java
index 10b25a13d2a..d03dfcee08f 100644
--- a/components/camel-cxf/camel-cxf-rest/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducer.java
+++ b/components/camel-cxf/camel-cxf-rest/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducer.java
@@ -59,8 +59,6 @@ import org.apache.cxf.jaxrs.client.WebClient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import static org.apache.camel.Exchange.ACTIVE_SPAN;
-
/**
* CxfRsProducer binds a Camel exchange to a CXF exchange, acts as a CXF JAXRS client, it will turn the normal Object
* invocation to a RESTful request according to resource annotation. Any response will be bound to Camel exchange.
diff --git a/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfProducer.java b/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfProducer.java
index 74a1eadb474..ca713e0ebe9 100644
--- a/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfProducer.java
+++ b/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfProducer.java
@@ -51,8 +51,6 @@ import org.apache.cxf.service.model.BindingOperationInfo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import static org.apache.camel.Exchange.ACTIVE_SPAN;
-
/**
* CxfProducer binds a Camel exchange to a CXF exchange, acts as a CXF client, and sends the request to a CXF to a
* server. Any response will be bound to Camel exchange.