This is an automated email from the ASF dual-hosted git repository.
gzurowski pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.18.x by this push:
new 6eb9b7cf036 [Minor] Apply formatter
6eb9b7cf036 is described below
commit 6eb9b7cf036cff31f7d9069365a11166fc8c8067
Author: Gregor Zurowski <[email protected]>
AuthorDate: Sun Sep 4 19:19:51 2022 +0200
[Minor] Apply formatter
---
.../java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java
b/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java
index 231c5266e70..a74290c0d15 100644
---
a/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java
+++
b/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java
@@ -950,8 +950,8 @@ public class CxfEndpoint extends DefaultEndpoint implements
AsyncEndpoint, Heade
public Bus getBus() {
if (bus == null) {
CamelContext context = getCamelContext();
- if (context.getClass().getName().endsWith("SpringCamelContext") ||
-
context.getClass().getName().endsWith("SpringBootCamelContext")) {
+ if (context.getClass().getName().endsWith("SpringCamelContext") ||
+
context.getClass().getName().endsWith("SpringBootCamelContext")) {
try {
Class<?> cxfSpringEndpintUtilClazz
=
Class.forName("org.apache.camel.component.cxf.spring.jaxws.CxfSpringEndpointUtils");
@@ -960,10 +960,10 @@ public class CxfEndpoint extends DefaultEndpoint
implements AsyncEndpoint, Heade
} catch (Exception ex) {
if
(context.getClass().getName().endsWith("SpringCamelContext")) {
LOG.warn("Error creating Cxf Bus from
SpringCamelContext: {} This exception will be ignored.",
- ex.getMessage(), ex);
+ ex.getMessage(), ex);
} else {
LOG.warn("Error creating Cxf Bus from
SpringBootCamelContext: {} This exception will be ignored.",
- ex.getMessage(), ex);
+ ex.getMessage(), ex);
}
bus = CxfEndpointUtils.createBus(getCamelContext());
}