camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gzurow...@apache.org
Subject [3/4] camel git commit: Fix Checkstyle issue
Date Mon, 18 Sep 2017 07:04:11 GMT
Fix Checkstyle issue

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


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

Branch: refs/heads/release/2.18.5
Commit: 5afcb1eff7762523ef78981f317d389abb8e74f2
Parents: a800f0b
Author: Gregor Zurowski <gregor@zurowski.org>
Authored: Sun Sep 17 10:45:07 2017 +0200
Committer: Gregor Zurowski <gregor@zurowski.org>
Committed: Mon Sep 18 06:57:34 2017 +0000

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


Mime
View raw message