[jboss-svn-commits] JBL Code SVN: r5745 - labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/util

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Aug 11 07:26:12 EDT 2006


Author: tfennelly
Date: 2006-08-11 07:26:10 -0400 (Fri, 11 Aug 2006)
New Revision: 5745

Modified:
   labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/util/FileUtils.java
Log:
javadoc update

Modified: labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/util/FileUtils.java
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/util/FileUtils.java	2006-08-11 11:24:51 UTC (rev 5744)
+++ labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/util/FileUtils.java	2006-08-11 11:26:10 UTC (rev 5745)
@@ -185,9 +185,9 @@
 	 * Assert that the file/dir can be deleted.
 	 * <p/>
 	 * Just deletes the file and makes sure the delete worked.  This ensures that nothing has an open
-	 * handle on the file i.e. that code didn't "forget" to close it.  This will work for directories
-	 * too because if there's a handle open on a file in the directory, the delete of the directory 
-	 * will fail.
+	 * handle on the file i.e. that code didn't "forget" to close it.  This method will fail the assertion
+	 * if the target file is a non-empty directory.
+	 * 
 	 * @param file The file to be deleted.
 	 * @param maxWait The maximum length of time (ms) to wait for for the file to disappear after calling the delete method.
 	 */




More information about the jboss-svn-commits mailing list