Repository: camel
Updated Branches:
  refs/heads/camel-2.19.x 781dba468 -> ce96a9e59


Fix Checkstyle issue

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


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

Branch: refs/heads/camel-2.19.x
Commit: ce96a9e59414df869ca23e458d8d25216daa9dfb
Parents: 781dba4
Author: Gregor Zurowski <gre...@zurowski.org>
Authored: Fri Jul 21 09:10:16 2017 +0200
Committer: Gregor Zurowski <gre...@zurowski.org>
Committed: Fri Jul 21 09:10:16 2017 +0200

----------------------------------------------------------------------
 .../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/ce96a9e5/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);
         }

Reply via email to