Repository: camel Updated Branches: refs/heads/master aaa6bf593 -> e1469cf2b
Fix Checkstyle issues Signed-off-by: Gregor Zurowski <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/e1469cf2 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/e1469cf2 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/e1469cf2 Branch: refs/heads/master Commit: e1469cf2bb50f22d74ff1cbbe8a3518e89b39a86 Parents: aaa6bf5 Author: Gregor Zurowski <[email protected]> Authored: Mon Mar 21 10:44:11 2016 +0100 Committer: Gregor Zurowski <[email protected]> Committed: Mon Mar 21 10:44:11 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/e1469cf2/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) {
