You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gz...@apache.org on 2017/07/21 07:13:39 UTC

camel git commit: Fix Checkstyle issue

Repository: camel
Updated Branches:
  refs/heads/master facf54938 -> bd81de170


Fix Checkstyle issue

Signed-off-by: Gregor Zurowski <gr...@zurowski.org>


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/bd81de17
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/bd81de17
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/bd81de17

Branch: refs/heads/master
Commit: bd81de170cbcf05f42182cbdaa1f2fb519afb329
Parents: facf549
Author: Gregor Zurowski <gr...@zurowski.org>
Authored: Fri Jul 21 09:10:16 2017 +0200
Committer: Gregor Zurowski <gr...@zurowski.org>
Committed: Fri Jul 21 08:11:56 2017 +0100

----------------------------------------------------------------------
 .../apache/camel/component/cxf/transport/CamelDestination.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/bd81de17/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/transport/CamelDestination.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/transport/CamelDestination.java b/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/transport/CamelDestination.java
index 900ecbe..2b9ac06 100644
--- a/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/transport/CamelDestination.java
+++ b/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/transport/CamelDestination.java
@@ -280,8 +280,8 @@ public class CamelDestination extends AbstractDestination implements Configurabl
             OutputStream outputStream = outMessage.getContent(OutputStream.class);
             if (outputStream instanceof CachedOutputStream) {
                 camelExchange.getOut().setBody(((CachedOutputStream)outputStream).getInputStream());
-                } else {
-                    camelExchange.getOut().setBody(outputStream);
+            } else {
+                camelExchange.getOut().setBody(outputStream);
             }
             LOG.debug("send the response message: {}", outputStream);
         }