Fix Checkstyle issues 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/8709313c Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8709313c Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8709313c Branch: refs/heads/camel-2.15.x Commit: 8709313cd66fadc7f5af72a4f3407d42c83b5d66 Parents: 75e9dff Author: Gregor Zurowski <gre...@zurowski.org> Authored: Mon Mar 21 10:44:11 2016 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Mon Mar 21 12:42:41 2016 +0100 ---------------------------------------------------------------------- .../org/apache/camel/component/cxf/util/ReaderInputStream.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/8709313c/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/util/ReaderInputStream.java ---------------------------------------------------------------------- diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/util/ReaderInputStream.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/util/ReaderInputStream.java index 20bcb7f..c22bf99 100644 --- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/util/ReaderInputStream.java +++ b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/util/ReaderInputStream.java @@ -198,7 +198,7 @@ public class ReaderInputStream extends InputStream { if (c == -1) { endOfInput = true; } else { - encoderIn.position(position+c); + encoderIn.position(position + c); } encoderIn.flip(); } @@ -223,8 +223,8 @@ public class ReaderInputStream extends InputStream { throw new NullPointerException("Byte array must not be null"); } if (len < 0 || off < 0 || (off + len) > b.length) { - throw new IndexOutOfBoundsException("Array Size=" + b.length + - ", offset=" + off + ", length=" + len); + throw new IndexOutOfBoundsException("Array Size=" + b.length + + ", offset=" + off + ", length=" + len); } int read = 0; if (len == 0) {