Skip to content

Commit 047c234

Browse files
committed
No need to ignore warning here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1470347 13f79535-47bb-0310-9956-ffa450edef68
1 parent 676aa79 commit 047c234

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ private void fillBuffer() throws CharacterCodingException {
112112
if (result.isError()) {
113113
result.throwException();
114114
}
115+
// if (result.isUnderflow()) {
116+
// result.throwException();
117+
// }
115118
this.bbuf.flip();
116119
}
117120

@@ -192,7 +195,7 @@ public void close() throws IOException {
192195
* @param readlimit max read limit (ignored)
193196
*/
194197
@Override
195-
public synchronized void mark(@SuppressWarnings("unused") final int readlimit) {
198+
public synchronized void mark(final int readlimit) {
196199
this.mark = this.cbuf.position();
197200
}
198201

0 commit comments

Comments
 (0)