commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1366496 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
Date Fri, 27 Jul 2012 18:52:33 GMT
Author: sebb
Date: Fri Jul 27 18:52:33 2012
New Revision: 1366496

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

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java?rev=1366496&r1=1366495&r2=1366496&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
Fri Jul 27 18:52:33 2012
@@ -1659,9 +1659,11 @@ public abstract class AbstractFileObject
      * write the content of the file to.<br>
      *
      * @param bAppend true when append to the file.<br>
-     *                Note: If the underlaying filesystem do not support this, it wont work.
+     *                Note: If the underlaying filesystem does not support appending,
+     *                a FileSystemException is thrown.
      * @return An OutputStream where the new contents of the file can be written.
-     * @throws FileSystemException if an error occurs.
+     * @throws FileSystemException if an error occurs; for example:<br>
+     *         bAppend is true, and the unbderlying FileSystem does not support it
      */
     public OutputStream getOutputStream(boolean bAppend) throws FileSystemException
     {



Mime
View raw message