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 2019/05/20 06:59:05 UTC

[camel] 02/02: CAMEL-13541 - 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 34eeb10d1a4e12cc20b20ddda471043e777d42a4
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon May 20 08:58:39 2019 +0200

    CAMEL-13541 - Fixed CS
---
 .../camel/component/hystrix/processor/HystrixProcessorCommand.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-hystrix/src/main/java/org/apache/camel/component/hystrix/processor/HystrixProcessorCommand.java b/components/camel-hystrix/src/main/java/org/apache/camel/component/hystrix/processor/HystrixProcessorCommand.java
index 94289ff..efa9c9b 100644
--- a/components/camel-hystrix/src/main/java/org/apache/camel/component/hystrix/processor/HystrixProcessorCommand.java
+++ b/components/camel-hystrix/src/main/java/org/apache/camel/component/hystrix/processor/HystrixProcessorCommand.java
@@ -119,7 +119,7 @@ public class HystrixProcessorCommand extends HystrixCommand {
 
         // if hystrix execution timeout is enabled and fallback is enabled and a timeout occurs
         // then a hystrix timer thread executes the fallback so we can stop run() execution
-        if(getProperties().executionTimeoutEnabled().get()
+        if (getProperties().executionTimeoutEnabled().get()
                 && getProperties().fallbackEnabled().get()
                 && isCommandTimedOut.get() == TimedOutStatus.TIMED_OUT) {
             LOG.debug("Exiting run command due to a hystrix execution timeout in processing exchange: {}", exchange);