Removed unuseful code.

This commit is contained in:
Christian P. MOMON 2021-10-14 16:43:17 +02:00
parent 376e594328
commit 57fd1de666

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2013-2018 Christian Pierre MOMON * Copyright (C) 2013-2021 Christian Pierre MOMON
* *
* This file is part of Devinsy-strings. * This file is part of Devinsy-strings.
* *
@ -18,7 +18,6 @@
*/ */
package fr.devinsy.strings; package fr.devinsy.strings;
import java.io.BufferedReader;
import java.io.IOException; import java.io.IOException;
import java.io.Reader; import java.io.Reader;
@ -60,8 +59,6 @@ public class StringListReader extends Reader
{ {
int result; int result;
BufferedReader a;
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(); throw new IndexOutOfBoundsException();