Skip to content

Commit b5fb42a

Browse files
committed
Iterator always deals Strings (FindBugs).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1165983 13f79535-47bb-0310-9956-ffa450edef68
1 parent e0e0609 commit b5fb42a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/test/java/org/apache/commons/io/LineIteratorTestCase.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ public void testValidEncoding() throws Exception {
174174
try {
175175
int count = 0;
176176
while (iterator.hasNext()) {
177+
assertNotNull(iterator.next());
177178
count++;
178179
}
179180
assertEquals(3, count);

0 commit comments

Comments
 (0)