You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/04/13 12:34:13 UTC

[camel] 01/06: (chores) camel-cxf: added missing @Override

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

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit dbdc9e10501d3c787ca10ba0e0d0fb738b96ccef
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Apr 13 11:11:38 2023 +0200

    (chores) camel-cxf: added missing @Override
---
 .../org/apache/camel/component/cxf/spring/jaxws/CxfSpringEndpoint.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/components/camel-cxf/camel-cxf-spring-soap/src/main/java/org/apache/camel/component/cxf/spring/jaxws/CxfSpringEndpoint.java b/components/camel-cxf/camel-cxf-spring-soap/src/main/java/org/apache/camel/component/cxf/spring/jaxws/CxfSpringEndpoint.java
index fb749943b99..b95dfe5be37 100644
--- a/components/camel-cxf/camel-cxf-spring-soap/src/main/java/org/apache/camel/component/cxf/spring/jaxws/CxfSpringEndpoint.java
+++ b/components/camel-cxf/camel-cxf-spring-soap/src/main/java/org/apache/camel/component/cxf/spring/jaxws/CxfSpringEndpoint.java
@@ -280,6 +280,7 @@ public class CxfSpringEndpoint extends CxfEndpoint implements ApplicationContext
         return applicationContext;
     }
 
+    @Override
     public Bus getBus() {
         if (bus == null) {
             bus = createBus(getCamelContext());
@@ -326,6 +327,7 @@ public class CxfSpringEndpoint extends CxfEndpoint implements ApplicationContext
 
             abstractApplicationContext.addApplicationListener((final ApplicationEvent event) -> {
                 new Thread() {
+                    @Override
                     public void run() {
                         if (event instanceof ContextClosedEvent && bus.getState() == BusState.RUNNING) {