This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-net.git


The following commit(s) were added to refs/heads/master by this push:
     new 3bfc5279 Javadoc
3bfc5279 is described below

commit 3bfc5279ac4ef32fcaba6f93d4113cab003f3dd6
Author: Sebb <s...@apache.org>
AuthorDate: Tue Feb 13 00:50:01 2024 +0000

    Javadoc
---
 src/main/java/org/apache/commons/net/ftp/FTPSClient.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/main/java/org/apache/commons/net/ftp/FTPSClient.java 
b/src/main/java/org/apache/commons/net/ftp/FTPSClient.java
index 52343eb7..8c19c320 100644
--- a/src/main/java/org/apache/commons/net/ftp/FTPSClient.java
+++ b/src/main/java/org/apache/commons/net/ftp/FTPSClient.java
@@ -641,6 +641,7 @@ public class FTPSClient extends FTPClient {
     /**
      * Gets the secure socket protocol to be used, e.g. SSL/TLS.
      * @since 3.11.0
+     * @return the protocol
      */
     protected String getProtocol() {
         return protocol;
@@ -650,6 +651,7 @@ public class FTPSClient extends FTPClient {
      * Gets the protocol versions. The {@link #getEnabledProtocols()} method 
gets the value from the socket while
      * this method gets its value from this instance's config.
      * @since 3.11.0
+     * @return a clone of the protocols, may be null
      */
     protected String[] getProtocols() {
         return protocols == null ? null : protocols.clone();
@@ -659,6 +661,7 @@ public class FTPSClient extends FTPClient {
      * Gets the cipher suites. The {@link #getEnabledCipherSuites()} method 
gets the value from the socket while
      * this method gets its value from this instance's config.
      * @since 3.11.0
+     * @return a clone of the suites, may be null
      */
     protected String[] getSuites() {
         return suites == null ? null : suites.clone();

Reply via email to