commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rami Ojares" <rami.oja...@elisa.fi>
Subject [vfs] Patch: small documentation add
Date Wed, 02 Jun 2004 09:51:56 GMT
Hi,

I have been playing around with vfs and it seems really nice!
Here as a small addition to javadoc

===================================================================
retrieving revision 1.25
diff -B -b -u -r1.25 FileObject.java
@@ -189,12 +189,12 @@
     FileObject[] findFiles(FileSelector selector) throws
FileSystemException;
     /**
-     * Deletes this file.  Does nothing if this file does not exist.  Does
-     * not delete any descendents of this file, use {@link
#delete(FileSelector)}
-     * for that.
+     * Deletes this file.  Does nothing if this file does not exist or if
it is
+     * a folder that has children.  Does not delete any descendents of this
+     * file, use {@link #delete(FileSelector)} for that.
      *
-     * @throws FileSystemException If this file is a non-empty folder, or
if this file is read-only,
-     *                             or on error deleteing this file.
+     * @throws FileSystemException If this file is a non-empty folder, or
if
+     * this file is read-only, or on error deleteing this file.
      */
     void delete() throws FileSystemException;

I don't know if this is intended but at least that's how it works on local
filesystem.

- Rami Ojares


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message