Repository: camel Updated Branches: refs/heads/camel-2.15.x 75e9dff74 -> 8709313cd refs/heads/camel-2.16.x 04e8ab939 -> c8286f00f refs/heads/camel-2.17.x 7737950b6 -> d12f08e54
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/a7f9fdd3 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a7f9fdd3 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a7f9fdd3 Branch: refs/heads/camel-2.17.x Commit: a7f9fdd30a7fdb4f7cfff83dcdc253638c1204df Parents: 7737950 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:41:54 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/a7f9fdd3/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) {