aboutsummaryrefslogtreecommitdiff
path: root/src/rejava/io
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2014-05-18 17:53:00 +0200
committerPacien TRAN-GIRARD2014-05-18 17:53:00 +0200
commitdb373254f918ef75062698757e6cd6e13e26289f (patch)
treee1975b38b06c88f469f3f3e2e0d9cf515778f9f1 /src/rejava/io
parent0d4651e54f40f4dad929c419e92e37a15926f7be (diff)
downloadesieequest-db373254f918ef75062698757e6cd6e13e26289f.tar.gz
Format code (100 chars line)
Diffstat (limited to 'src/rejava/io')
-rw-r--r--src/rejava/io/StringReader.java3
1 files changed, 2 insertions, 1 deletions
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 {
30 30
31 @Override 31 @Override
32 public int read(final char[] cbuf, final int off, final int len) { 32 public int read(final char[] cbuf, final int off, final int len) {
33 if ((off < 0) || (off > cbuf.length) || (len < 0) || ((off + len) > cbuf.length) || ((off + len) < 0)) { 33 if ((off < 0) || (off > cbuf.length) || (len < 0) || ((off + len) > cbuf.length)
34 || ((off + len) < 0)) {
34 throw new IndexOutOfBoundsException(); 35 throw new IndexOutOfBoundsException();
35 } 36 }
36 if (len == 0) { 37 if (len == 0) {