Fixed CS. This closes #1339
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a5771f5a Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a5771f5a Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a5771f5a Branch: refs/heads/master Commit: a5771f5a8e2755e237e74df1eb3aeb0466d84212 Parents: 2cc56e9 Author: Claus Ibsen <davscl...@apache.org> Authored: Mon Dec 12 10:17:24 2016 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Mon Dec 12 10:17:24 2016 +0100 ---------------------------------------------------------------------- .../org/apache/camel/component/servlet/ServletComponent.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/a5771f5a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/ServletComponent.java ---------------------------------------------------------------------- diff --git a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/ServletComponent.java b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/ServletComponent.java index a04cf5a..6163b56 100644 --- a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/ServletComponent.java +++ b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/ServletComponent.java @@ -135,11 +135,12 @@ public class ServletComponent extends HttpCommonComponent implements RestConsume // turn off stream caching if in attachment mode if (endpoint.isAttachmentMultipartBinding()) { if (disableStreamCache == null) { - // disableStreamCache not explict configured so we can automatic change it + // disableStreamCache not explicit configured so we can automatic change it LOG.info("Disabling stream caching as attachmentMultipartBinding is enabled"); endpoint.setDisableStreamCache(true); } else if (!disableStreamCache) { - throw new IllegalArgumentException("The options attachmentMultipartBinding=true and disableStreamCache=false cannot work together. Remove disableStreamCache to use AttachmentMultipartBinding"); + throw new IllegalArgumentException("The options attachmentMultipartBinding=true and disableStreamCache=false cannot work together." + + " Remove disableStreamCache to use AttachmentMultipartBinding"); } }