commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1035406 - in /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2: provider/ftp/ provider/http/ provider/local/ provider/sftp/ util/
Date Mon, 15 Nov 2010 18:52:29 GMT
Author: sebb
Date: Mon Nov 15 18:52:28 2010
New Revision: 1035406

URL: http://svn.apache.org/viewvc?rev=1035406&view=rev
Log:
Adding @since tags

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileSystem.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileSystem.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/MonitorInputStream.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/MonitorOutputStream.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/RandomAccessMode.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/WeakRefFileListener.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileObject.java?rev=1035406&r1=1035405&r2=1035406&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileObject.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileObject.java
Mon Nov 15 18:52:28 2010
@@ -390,7 +390,7 @@ public class FtpFileObject
      * @return The list of children
      * @throws FileSystemException If there was a problem listing children
      * @see AbstractFileObject#getChildren()
-     * @since 1.0
+     * @since 2.0
      */
     @Override
     public FileObject[] getChildren() throws FileSystemException

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileSystem.java?rev=1035406&r1=1035405&r2=1035406&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileSystem.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileSystem.java
Mon Nov 15 18:52:28 2010
@@ -48,6 +48,7 @@ public class FtpFileSystem extends Abstr
     // An idle client
     private FtpClient idleClient;
 
+    /** @since 2.0 (was protected) */
     public FtpFileSystem(final GenericFileName rootName, final FtpClient ftpClient,
                          final FileSystemOptions fileSystemOptions)
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileObject.java?rev=1035406&r1=1035405&r2=1035406&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileObject.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileObject.java
Mon Nov 15 18:52:28 2010
@@ -180,6 +180,7 @@ public class HttpFileObject
 
     /**
      * Prepares a Method object.
+     * @since 2.0 (was package)
      */
     protected void setupMethod(final HttpMethod method) throws FileSystemException, URIException
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileSystem.java?rev=1035406&r1=1035405&r2=1035406&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileSystem.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileSystem.java
Mon Nov 15 18:52:28 2010
@@ -62,6 +62,7 @@ public class HttpFileSystem
         return client;
     }
 
+    /** @since 2.0 */
     @Override
     public void closeCommunicationLink()
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java?rev=1035406&r1=1035405&r2=1035406&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
Mon Nov 15 18:52:28 2010
@@ -200,6 +200,7 @@ public class LocalFile
 
     /**
      * Sets the last modified time of this file.
+     * @since 2.0
      */
     @Override
     protected boolean doSetLastModTime(final long modtime)

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java?rev=1035406&r1=1035405&r2=1035406&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java
Mon Nov 15 18:52:28 2010
@@ -75,6 +75,7 @@ public class SftpFileObject extends Abst
         attrs = null;
     }
 
+    /** @since 2.0 */
     @Override
     public void refresh() throws FileSystemException
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/MonitorInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/MonitorInputStream.java?rev=1035406&r1=1035405&r2=1035406&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/MonitorInputStream.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/MonitorInputStream.java
Mon Nov 15 18:52:28 2010
@@ -43,6 +43,7 @@ public class MonitorInputStream
      * Returns 0 if the stream is at eof, else the underlaying inputStream will be queried.
      * @return The number of bytes that are available.
      * @throws IOException if an error occurs.
+     * @since 2.0
      */
     @Override
     public synchronized int available() throws IOException

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/MonitorOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/MonitorOutputStream.java?rev=1035406&r1=1035405&r2=1035406&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/MonitorOutputStream.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/MonitorOutputStream.java
Mon Nov 15 18:52:28 2010
@@ -80,6 +80,7 @@ public class MonitorOutputStream
     }
 
 
+    /** @since 2.0 */
     @Override
     public synchronized void write(int b) throws IOException
     {
@@ -87,6 +88,7 @@ public class MonitorOutputStream
         super.write(b);
     }
 
+    /** @since 2.0 */
     @Override
     public synchronized void write(byte[] b, int off, int len) throws IOException
     {
@@ -94,6 +96,7 @@ public class MonitorOutputStream
         super.write(b, off, len);
     }
 
+    /** @since 2.0 */
     @Override
     public synchronized void flush() throws IOException
     {
@@ -101,6 +104,7 @@ public class MonitorOutputStream
         super.flush();
     }
 
+    /** @since 2.0 */
     @Override
     public void write(byte[] b) throws IOException
     {
@@ -110,8 +114,9 @@ public class MonitorOutputStream
 
     /**
      * check if file is still open. <br />
-     * This is a workaround for an oddidy with javas BufferedOutputStream where you can write
to
+     * This is a workaround for an oddity with Java's BufferedOutputStream where you can
write to
      * even if the stream has been closed
+     * @since 2.0
      */
     protected void assertOpen() throws FileSystemException
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/RandomAccessMode.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/RandomAccessMode.java?rev=1035406&r1=1035405&r2=1035406&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/RandomAccessMode.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/RandomAccessMode.java
Mon Nov 15 18:52:28 2010
@@ -54,6 +54,7 @@ public enum RandomAccessMode
         return write;
     }
 
+    /** @since 2.0 */
     public String getModeString()
     {
         if (requestRead())

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/WeakRefFileListener.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/WeakRefFileListener.java?rev=1035406&r1=1035405&r2=1035406&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/WeakRefFileListener.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/util/WeakRefFileListener.java
Mon Nov 15 18:52:28 2010
@@ -29,6 +29,7 @@ import java.lang.ref.WeakReference;
  *
  * @author <a href="http://commons.apache.org/vfs/team-list.html">Commons VFS team</a>
  * @version $Revision: 262 $ $Date: 2006-12-20T09:14:53.055649Z $
+ * @since 2.0
  */
 public class WeakRefFileListener implements FileListener
 {



Mime
View raw message