commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1102128 - /commons/proper/io/trunk/src/main/java/org/apache/commons/io/LineIterator.java
Date Wed, 11 May 2011 23:05:23 GMT
Author: sebb
Date: Wed May 11 23:05:22 2011
New Revision: 1102128

URL: http://svn.apache.org/viewvc?rev=1102128&view=rev
Log:
Document why we don't implement Iterable

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

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/LineIterator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/LineIterator.java?rev=1102128&r1=1102127&r2=1102128&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/LineIterator.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/LineIterator.java Wed May
11 23:05:22 2011
@@ -51,6 +51,8 @@ import java.util.NoSuchElementException;
  */
 public class LineIterator implements Iterator<String> {
 
+    // N.B. This class deliberately does not implement Iterable, see https://issues.apache.org/jira/browse/IO-181
+    
     /** The reader that is being read. */
     private final BufferedReader bufferedReader;
     /** The current line. */



Mime
View raw message