Author: ggregory
Date: Tue Jun 12 12:49:36 2012
New Revision: 1349306

URL: http://svn.apache.org/viewvc?rev=1349306&view=rev
Log:
Add missing Javadoc for org.apache.commons.io.FileUtils.checkDirectory(File)

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=1349306&r1=1349305&r2=1349306&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 
Tue Jun 12 12:49:36 2012
@@ -2521,11 +2521,16 @@ public class FileUtils {
         return size;
     }
 
+    /**
+     * Checks that the given {@code File} exists and is a directory.
+     * 
+     * @param directory The {@code File} to check.
+     * @throws IllegalArgumentException if the given {@code File} does not 
exist or is not a directory.
+     */
     private static void checkDirectory(File directory) {
         if (!directory.exists()) {
             throw new IllegalArgumentException(directory + " does not exist");
         }
-
         if (!directory.isDirectory()) {
             throw new IllegalArgumentException(directory + " is not a 
directory");
         }


Reply via email to