commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: svn commit: r1366496 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java
Date Fri, 27 Jul 2012 19:14:34 GMT
Should the interface also be updated?

Gary

On Jul 27, 2012, at 14:53, "sebb@apache.org" <sebb@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


Mime
View raw message