commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r619241 - /commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsListFilesTestCase.java
Date Thu, 07 Feb 2008 02:05:20 GMT
Author: niallp
Date: Wed Feb  6 18:05:18 2008
New Revision: 619241

URL: http://svn.apache.org/viewvc?rev=619241&view=rev
Log:
Specify explict types

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

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsListFilesTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsListFilesTestCase.java?rev=619241&r1=619240&r2=619241&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsListFilesTestCase.java
(original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsListFilesTestCase.java
Wed Feb  6 18:05:18 2008
@@ -124,7 +124,7 @@
         
         //First, find non-recursively
         fileFilter = FileFilterUtils.trueFileFilter();
-        files = FileUtils.listFiles(getLocalTestDirectory(), fileFilter, null);
+        files = FileUtils.listFiles(getLocalTestDirectory(), fileFilter, (IOFileFilter)null);
         filenames = filesToFilenames(files);
         assertTrue("'dummy-build.xml' is missing", filenames.contains("dummy-build.xml"));
         assertFalse("'dummy-index.html' shouldn't be found", filenames.contains("dummy-index.html"));
@@ -159,7 +159,7 @@
         assertFalse("'Entries' shouldn't be found", filenames.contains("Entries"));
 
         try {
-            FileUtils.listFiles(getLocalTestDirectory(), null, null);
+            FileUtils.listFiles(getLocalTestDirectory(), (IOFileFilter)null, (IOFileFilter)null);
             fail("Expected error about null parameter");
         } catch (Exception e) {
             //fine



Mime
View raw message