You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <ga...@gmail.com> on 2012/07/27 21:14:34 UTC

Re: svn commit: r1366496 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java

Should the interface also be updated?

Gary

On Jul 27, 2012, at 14:53, "sebb@apache.org" <se...@apache.org> wrote:

> 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
>     {
>
>

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