You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2012/04/25 14:04:33 UTC
svn commit: r1330226 -
/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSClient.java
Author: ggregory
Date: Wed Apr 25 12:04:33 2012
New Revision: 1330226
URL: http://svn.apache.org/viewvc?rev=1330226&view=rev
Log:
Nicer Javadoc (without hard breaks a la <br>)
Modified:
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/ftp/FTPSClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSClient.java?rev=1330226&r1=1330225&r2=1330226&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 Apr 25 12:04:33 2012
@@ -474,18 +474,19 @@ public class FTPSClient extends FTPClien
}
/**
- * PROT command.<br/>
- * C - Clear<br/>
- * S - Safe(SSL protocol only)<br/>
- * E - Confidential(SSL protocol only)<br/>
- * P - Private
- * <p>
+ * PROT command.
+ * <ul>
+ * <li>C - Clear</li>
+ * <li>S - Safe(SSL protocol only)</li>
+ * <li>E - Confidential(SSL protocol only)</li>
+ * <li>P - Private</li>
+ * </ul>
* <b>N.B.</b> the method calls
* {@link #setSocketFactory(javax.net.SocketFactory)} and
* {@link #setServerSocketFactory(javax.net.ServerSocketFactory)}
*
- * @param prot Data Channel Protection Level.
- * @throws SSLException If the server reply code does not equal "200".
+ * @param prot Data Channel Protection Level, if {@code null}, use {@link #DEFAULT_PROT}.
+ * @throws SSLException If the server reply code does not equal {@code 200}.
* @throws IOException If an I/O error occurs while sending
* the command.
*/