fix wrong usage of assertNotNull
Signature of assertNoNull() is taking "actual" as first parameter:
public static void assertNotNull(Object actual, String message) {
AssertNotNull.assertNotNull(actual, message);
}
MODIFY
src/test/java/org/apache/commons/io/FileSystemUtilsTestCase.java
src/test/java/org/apache/commons/io/FileSystemUtilsTestCase.java
@@ -63,7 +63,7 @@ public void testGetFreeSpace_String() throws Exception {
boolean kilobyteBlock = true;
try (BufferedReader r = new BufferedReader(new InputStreamReader(proc.getInputStream()))){
final String line = r.readLine();
- assertNotNull("Unexpected null line", line);
+ assertNotNull(line, "Unexpected null line");
if (line.contains("512")) {
kilobyteBlock = false;
}

fix wrong usage of assertNotNull (#269)

Signature of assertNoNull() is taking "actual" as first parameter:

    public static void assertNotNull(Object actual, String message) {
        AssertNotNull.assertNotNull(actual, message);
    }

Signed-off-by: Davide Angelocola <davide.angelocola@gmail.com>