You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2013/02/20 12:20:07 UTC

svn commit: r1448087 - in /commons/proper/net/trunk/src/main/java/org/apache/commons/net: bsd/RExecClient.java ftp/FTP.java ftp/FTPClient.java ftp/FTPCmd.java ftp/FTPHTTPClient.java ftp/FTPSClient.java

Author: sebb
Date: Wed Feb 20 11:20:07 2013
New Revision: 1448087

URL: http://svn.apache.org/r1448087
Log:
Add @since markers

Modified:
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RExecClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCmd.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSClient.java

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RExecClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RExecClient.java?rev=1448087&r1=1448086&r2=1448087&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RExecClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/bsd/RExecClient.java Wed Feb 20 11:20:07 2013
@@ -65,6 +65,9 @@ import org.apache.commons.net.io.SocketI
 
 public class RExecClient extends SocketClient
 {
+    /**
+     * @since 3.3
+     */
     protected static final char NULL_CHAR = '\0';
 
     /***

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java?rev=1448087&r1=1448086&r2=1448087&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java Wed Feb 20 11:20:07 2013
@@ -550,7 +550,7 @@ public class FTP extends SocketClient
      *      as an IOException or independently as itself.
      * @exception IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
-     * @deprecated Use {@link #sendCommand(FTPCmd, String)} instead
+     * @deprecated (3.3) Use {@link #sendCommand(FTPCmd, String)} instead
      ***/
     @Deprecated
     public int sendCommand(int command, String args) throws IOException
@@ -576,6 +576,7 @@ public class FTP extends SocketClient
      *      as an IOException or independently as itself.
      * @exception IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
+     * @since 3.3
      */
     public int sendCommand(FTPCmd command)  throws IOException{
         return sendCommand(command, null);
@@ -601,6 +602,7 @@ public class FTP extends SocketClient
      *      as an IOException or independently as itself.
      * @exception IOException  If an I/O error occurs while either sending the
      *      command or receiving the server reply.
+     * @since 3.3
      */
     public int sendCommand(FTPCmd command, String args)  throws IOException{
         return sendCommand(command.getCommand(), args);

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java?rev=1448087&r1=1448086&r2=1448087&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java Wed Feb 20 11:20:07 2013
@@ -721,7 +721,7 @@ implements Configurable
      *         the connection.
      * @exception IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
-     * @deprecated Use {@link #_openDataConnection_(FTPCmd, String)} instead
+     * @deprecated (3.3) Use {@link #_openDataConnection_(FTPCmd, String)} instead
      */
     @Deprecated
     protected Socket _openDataConnection_(int command, String arg)
@@ -747,6 +747,7 @@ implements Configurable
      *         the connection.
      * @exception IOException  If an I/O error occurs while either sending a
      *      command to the server or receiving a reply from the server.
+     * @since 3.3
      */
     protected Socket _openDataConnection_(FTPCmd command, String arg)
     throws IOException
@@ -3460,7 +3461,8 @@ implements Configurable
      * If the value is positive, the option will be set when the data socket has been created.
      *
      * @param bufSize The size of the buffer, zero or negative means the value is ignored.
-     */
+      * @since 3.3
+    */
     public void setSendDataSocketBufferSize(int bufSize) {
         __sendDataSocketBufferSize = bufSize;
     }
@@ -3468,6 +3470,7 @@ implements Configurable
     /**
      * Retrieve the value to be used for the data socket SO_SNDBUF option.
      * @return The current buffer size.
+     * @since 3.3
      */
     public int getSendDataSocketBufferSize() {
         return __sendDataSocketBufferSize;
@@ -3478,6 +3481,7 @@ implements Configurable
      * If the value is positive, the option will be set when the data socket has been created.
      *
      * @param bufSize The size of the buffer, zero or negative means the value is ignored.
+     * @since 3.3
      */
     public void setReceieveDataSocketBufferSize(int bufSize) {
         __receiveDataSocketBufferSize = bufSize;
@@ -3486,6 +3490,7 @@ implements Configurable
     /**
      * Retrieve the value to be used for the data socket SO_RCVBUF option.
      * @return The current buffer size.
+     * @since 3.3
      */
     public int getReceiveDataSocketBufferSize() {
         return __receiveDataSocketBufferSize;

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCmd.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCmd.java?rev=1448087&r1=1448086&r2=1448087&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCmd.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCmd.java Wed Feb 20 11:20:07 2013
@@ -18,6 +18,9 @@
 
 package org.apache.commons.net.ftp;
 
+/**
+* @since 3.3
+ */
 public enum FTPCmd {
     ABOR,
     ACCT,

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java?rev=1448087&r1=1448086&r2=1448087&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java Wed Feb 20 11:20:07 2013
@@ -64,7 +64,7 @@ public class FTPHTTPClient extends FTPCl
      * {@inheritDoc}
      *
      * @throws IllegalStateException if connection mode is not passive
-     * @deprecated Use {@link #_openDataConnection_(FTPCmd, String)} instead
+     * @deprecated (3.3) Use {@link #_openDataConnection_(FTPCmd, String)} instead
      */
     // Kept to maintain binary compatibility
     // Not strictly necessary, but Clirr complains even though there is a super-impl

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSClient.java?rev=1448087&r1=1448086&r2=1448087&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSClient.java Wed Feb 20 11:20:07 2013
@@ -569,7 +569,7 @@ public class FTPSClient extends FTPClien
      * during the establishment and initialization of the connection.
      * @throws IOException If there is any problem with the connection.
      * @see FTPClient#_openDataConnection_(int, String)
-     * @deprecated Use {@link #_openDataConnection_(FTPCmd, String)} instead
+     * @deprecated (3.3) Use {@link #_openDataConnection_(FTPCmd, String)} instead
      */
     @Override
     // Strictly speaking this is not needed, but it works round a Clirr bug