This is an automated email from the ASF dual-hosted git repository. ggregory 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 c0e06008 Fix Checkstyle c0e06008 is described below commit c0e06008b948dc47570e5b6944f91eb6fd2cddff Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Oct 31 07:35:17 2023 -0400 Fix Checkstyle --- src/main/java/org/apache/commons/net/SocketClient.java | 4 ++-- src/main/java/org/apache/commons/net/ftp/FTPClient.java | 8 ++++---- src/main/java/org/apache/commons/net/smtp/SMTPClient.java | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/apache/commons/net/SocketClient.java b/src/main/java/org/apache/commons/net/SocketClient.java index 213644d2..b28d0e12 100644 --- a/src/main/java/org/apache/commons/net/SocketClient.java +++ b/src/main/java/org/apache/commons/net/SocketClient.java @@ -631,8 +631,8 @@ public abstract class SocketClient { } /** - * Sets the default timeout in milliseconds to use when opening a socket. This value is only used previous to a call to {@link #connect connect()} and should - * not be confused with {@link #setSoTimeout setSoTimeout()} which operates on the currently opened socket. _timeout_ contains the new timeout value. + * Sets the default timeout in milliseconds to use when opening a socket. This value is only used previous to a call to {@link #connect connect()} and + * should not be confused with {@link #setSoTimeout setSoTimeout()} which operates on the currently opened socket. _timeout_ contains the new timeout value. * * @param timeout The timeout in milliseconds to use for the socket connection. */ diff --git a/src/main/java/org/apache/commons/net/ftp/FTPClient.java b/src/main/java/org/apache/commons/net/ftp/FTPClient.java index 914a3782..cc3cf334 100644 --- a/src/main/java/org/apache/commons/net/ftp/FTPClient.java +++ b/src/main/java/org/apache/commons/net/ftp/FTPClient.java @@ -1323,10 +1323,10 @@ public class FTPClient extends FTP implements Configurable { } /** - * Sets the current data connection mode to <code> PASSIVE_LOCAL_DATA_CONNECTION_MODE </code>. Use this method only for data transfers between the client and - * server. This method causes a PASV (or EPSV) command to be issued to the server before the opening of every data connection, telling the server to open a - * data port to which the client will connect to conduct data transfers. The FTPClient will stay in <code> PASSIVE_LOCAL_DATA_CONNECTION_MODE </code> until - * the mode is changed by calling some other method such as {@link #enterLocalActiveMode enterLocalActiveMode() } + * Sets the current data connection mode to <code> PASSIVE_LOCAL_DATA_CONNECTION_MODE </code>. Use this method only for data transfers between the client + * and server. This method causes a PASV (or EPSV) command to be issued to the server before the opening of every data connection, telling the server to + * open a data port to which the client will connect to conduct data transfers. The FTPClient will stay in <code> PASSIVE_LOCAL_DATA_CONNECTION_MODE </code> + * until the mode is changed by calling some other method such as {@link #enterLocalActiveMode enterLocalActiveMode() } * <p> * <b>N.B.</b> currently calling any connect method will reset the mode to ACTIVE_LOCAL_DATA_CONNECTION_MODE. */ diff --git a/src/main/java/org/apache/commons/net/smtp/SMTPClient.java b/src/main/java/org/apache/commons/net/smtp/SMTPClient.java index e0dadedc..866cd554 100644 --- a/src/main/java/org/apache/commons/net/smtp/SMTPClient.java +++ b/src/main/java/org/apache/commons/net/smtp/SMTPClient.java @@ -421,8 +421,8 @@ public class SMTPClient extends SMTP { } /** - * Sets the sender of a message using the SMTP MAIL command, specifying the sender's email address. The sender must be set first before any recipients may be - * specified, otherwise the mail server will reject your commands. + * Sets the sender of a message using the SMTP MAIL command, specifying the sender's email address. The sender must be set first before any recipients may + * be specified, otherwise the mail server will reject your commands. * * @param address The sender's email address. * @return True if successfully completed, false if not.