commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1470347 - /commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java
Date Sun, 21 Apr 2013 21:05:14 GMT
Author: sebb
Date: Sun Apr 21 21:05:14 2013
New Revision: 1470347

URL: http://svn.apache.org/r1470347
Log:
No need to ignore warning here

Modified:
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java?rev=1470347&r1=1470346&r2=1470347&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java
(original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java
Sun Apr 21 21:05:14 2013
@@ -112,6 +112,9 @@ public class CharSequenceInputStream ext
         if (result.isError()) {
             result.throwException();
         }
+//        if (result.isUnderflow()) {
+//            result.throwException();
+//        }
         this.bbuf.flip();
     }
     
@@ -192,7 +195,7 @@ public class CharSequenceInputStream ext
      * @param readlimit max read limit (ignored)
      */
     @Override
-    public synchronized void mark(@SuppressWarnings("unused") final int readlimit) {
+    public synchronized void mark(final int readlimit) {
         this.mark = this.cbuf.position();
     }
 



Mime
View raw message