commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1165983 - /commons/proper/io/trunk/src/test/java/org/apache/commons/io/LineIteratorTestCase.java
Date Wed, 07 Sep 2011 03:03:06 GMT
Author: ggregory
Date: Wed Sep  7 03:03:06 2011
New Revision: 1165983

URL: http://svn.apache.org/viewvc?rev=1165983&view=rev
Log:
Iterator always deals Strings (FindBugs).

Modified:
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/LineIteratorTestCase.java

Modified: commons/proper/io/trunk/src/test/java/org/apache/commons/io/LineIteratorTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/LineIteratorTestCase.java?rev=1165983&r1=1165982&r2=1165983&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/java/org/apache/commons/io/LineIteratorTestCase.java
(original)
+++ commons/proper/io/trunk/src/test/java/org/apache/commons/io/LineIteratorTestCase.java
Wed Sep  7 03:03:06 2011
@@ -174,6 +174,7 @@ public class LineIteratorTestCase extend
         try {
             int count = 0;
             while (iterator.hasNext()) {
+                assertNotNull(iterator.next());
                 count++;
             }
             assertEquals(3, count);



Mime
View raw message