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/c8286f00 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c8286f00 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c8286f00 Branch: refs/heads/camel-2.16.x Commit: c8286f00f4a70945ac417fa80526328406b6de5e Parents: 04e8ab9 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:21 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/c8286f00/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) {