Repository: camel Updated Branches: refs/heads/master f90eb8c68 -> 104ef8c4b
Fixing checkstyle violation. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/104ef8c4 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/104ef8c4 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/104ef8c4 Branch: refs/heads/master Commit: 104ef8c4b38fe80871551f067598d5f20e2aad66 Parents: f90eb8c Author: Hiram Chirino <hi...@hiramchirino.com> Authored: Wed Jul 27 16:11:59 2016 -0400 Committer: Hiram Chirino <hi...@hiramchirino.com> Committed: Wed Jul 27 16:11:59 2016 -0400 ---------------------------------------------------------------------- .../org/apache/camel/component/cxf/jaxrs/SimpleCxfRsBinding.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/104ef8c4/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/SimpleCxfRsBinding.java ---------------------------------------------------------------------- diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/SimpleCxfRsBinding.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/SimpleCxfRsBinding.java index 566f9f6..701b11c 100644 --- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/SimpleCxfRsBinding.java +++ b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/SimpleCxfRsBinding.java @@ -298,7 +298,7 @@ public class SimpleCxfRsBinding extends DefaultCxfRsBinding { private DefaultAttachment createCamelAttachment(Attachment attachment) { DefaultAttachment camelAttachment = new DefaultAttachment(attachment.getDataHandler()); for (String name : attachment.getHeaders().keySet()) { - for(String value : attachment.getHeaderAsList(name)) { + for (String value : attachment.getHeaderAsList(name)) { camelAttachment.addHeader(name, value); } }