commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1299796 - /commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
Date Mon, 12 Mar 2012 19:16:31 GMT
Author: ggregory
Date: Mon Mar 12 19:16:30 2012
New Revision: 1299796

URL: http://svn.apache.org/viewvc?rev=1299796&view=rev
Log:
Javadoc.

Modified:
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java?rev=1299796&r1=1299795&r2=1299796&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java Mon Mar 12
19:16:30 2012
@@ -461,6 +461,16 @@ public class FileUtils {
         return files;
     }
 
+    /**
+     * Validates the given arguments.
+     * <ul>
+     * <li>Throws {@link IllegalArgumentException} if {@code directory} is not a directory</li>
+     * <li>Throws {@link NullPointerException} if {@code fileFilter} is null</li>
+     * </ul>
+     * 
+     * @param directory The File to test
+     * @param fileFilter The IOFileFilter to test
+     */
     private static void validateListFilesParameters(File directory, IOFileFilter fileFilter)
{
         if (!directory.isDirectory()) {
             throw new IllegalArgumentException("Parameter 'directory' is not a directory");



Mime
View raw message