[ https://issues.apache.org/jira/browse/IO-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409522#comment-17409522 ]
Davide Angelocola commented on IO-745: -------------------------------------- created PR in github: [https://github.com/apache/commons-io/pull/269] > wrong assertNotNull > -------------------- > > Key: IO-745 > URL: https://issues.apache.org/jira/browse/IO-745 > Project: Commons IO > Issue Type: Test > Affects Versions: 2.11.0 > Reporter: Davide Angelocola > Priority: Minor > Attachments: 0001-fix-wrong-usage-of-assertNotNull.patch > > > Greetings from long time user of this library :) > Intellij spotted this small error in *LineIteratorTestCase*: > {code:java} > assertNotNull("Line expected", iterator.next()); > assertTrue(iterator.hasNext(), "More expected"); {code} > *assertNotNull* is using "Line expected" as actual parameter. > The right order is given in the next *assertTrue* method. -- This message was sent by Atlassian Jira (v8.3.4#803005)