From db373254f918ef75062698757e6cd6e13e26289f Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 18 May 2014 17:53:00 +0200 Subject: Format code (100 chars line) --- src/rejava/io/StringReader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/rejava') diff --git a/src/rejava/io/StringReader.java b/src/rejava/io/StringReader.java index dc39769..65a1aba 100644 --- a/src/rejava/io/StringReader.java +++ b/src/rejava/io/StringReader.java @@ -30,7 +30,8 @@ public class StringReader extends Reader { @Override public int read(final char[] cbuf, final int off, final int len) { - if ((off < 0) || (off > cbuf.length) || (len < 0) || ((off + len) > cbuf.length) || ((off + len) < 0)) { + if ((off < 0) || (off > cbuf.length) || (len < 0) || ((off + len) > cbuf.length) + || ((off + len) < 0)) { throw new IndexOutOfBoundsException(); } if (len == 0) { -- cgit v1.2.3