You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/11/27 10:15:00 UTC

[camel] 03/03: Camel-AHC WS - Fixed CS

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

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

commit a701c6d2070573074c8a8931fba8da9f21a9fa55
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Nov 27 11:14:29 2018 +0100

    Camel-AHC WS - Fixed CS
---
 .../src/main/java/org/apache/camel/component/ahc/ws/WsEndpoint.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/WsEndpoint.java b/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/WsEndpoint.java
index edc7d76..a5f24a2 100644
--- a/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/WsEndpoint.java
+++ b/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/WsEndpoint.java
@@ -174,7 +174,7 @@ public class WsEndpoint extends AhcEndpoint {
             } catch (Exception e) {
                 LOG.warn("Error re-connecting to websocket", e);
                 ExceptionHandler exceptionHandler = getExceptionHandler();
-                if(exceptionHandler != null) {
+                if (exceptionHandler != null) {
                     exceptionHandler.handleException("Error re-connecting to websocket", e);
                 }
             }