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 2014/04/13 20:20:50 UTC

svn commit: r1587067 - /commons/proper/net/trunk/src/test/java/org/apache/commons/net/tftp/TFTPServer.java

Author: sebb
Date: Sun Apr 13 18:20:49 2014
New Revision: 1587067

URL: http://svn.apache.org/r1587067
Log:
Java 8 Javadoc fixes

Modified:
    commons/proper/net/trunk/src/test/java/org/apache/commons/net/tftp/TFTPServer.java

Modified: commons/proper/net/trunk/src/test/java/org/apache/commons/net/tftp/TFTPServer.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/test/java/org/apache/commons/net/tftp/TFTPServer.java?rev=1587067&r1=1587066&r2=1587067&view=diff
==============================================================================
--- commons/proper/net/trunk/src/test/java/org/apache/commons/net/tftp/TFTPServer.java (original)
+++ commons/proper/net/trunk/src/test/java/org/apache/commons/net/tftp/TFTPServer.java Sun Apr 13 18:20:49 2014
@@ -150,6 +150,7 @@ public class TFTPServer implements Runna
      *
      * @param serverReadDirectory directory for GET requests
      * @param serverWriteDirectory directory for PUT requests
+     * @param port the port to use
      * @param mode A value as specified above.
      * @param log Stream to write log message to. If not provided, uses System.out
      * @param errorLog Stream to write error messages to. If not provided, uses System.err.
@@ -168,7 +169,7 @@ public class TFTPServer implements Runna
     /**
      * Set the max number of retries in response to a timeout. Default 3. Min 0.
      *
-     * @param retries
+     * @param retries number of retries, must be > 0
      */
     public void setMaxTimeoutRetries(int retries)
     {
@@ -181,6 +182,7 @@ public class TFTPServer implements Runna
 
     /**
      * Get the current value for maxTimeoutRetries
+     * @return the max allowed number of retries
      */
     public int getMaxTimeoutRetries()
     {
@@ -191,6 +193,7 @@ public class TFTPServer implements Runna
      * Set the socket timeout in milliseconds used in transfers. Defaults to the value here:
      * http://commons.apache.org/net/apidocs/org/apache/commons/net/tftp/TFTP.html#DEFAULT_TIMEOUT
      * (5000 at the time I write this) Min value of 10.
+     * @param timeout the timeout; must be larger than 10
      */
     public void setSocketTimeout(int timeout)
     {
@@ -846,7 +849,7 @@ public class TFTPServer implements Runna
     /**
      * Set the stream object to log debug / informational messages. By default, this is a no-op
      *
-     * @param log
+     * @param log the stream to use for logging
      */
     public void setLog(PrintStream log)
     {
@@ -856,7 +859,7 @@ public class TFTPServer implements Runna
     /**
      * Set the stream object to log error messsages. By default, this is a no-op
      *
-     * @param logError
+     * @param logError the stream to use for logging errors
      */
     public void setLogError(PrintStream logError)
     {