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 db580983 Javadoc db580983 is described below commit db58098349d8b2cd332a62af5a7dc8b6f36c54ea Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed Feb 26 08:50:05 2025 -0500 Javadoc --- src/main/java/org/apache/commons/net/DatagramSocketClient.java | 2 +- src/main/java/org/apache/commons/net/DefaultSocketFactory.java | 2 +- src/main/java/org/apache/commons/net/chargen/CharGenTCPClient.java | 2 +- .../java/org/apache/commons/net/ftp/parser/OS2FTPEntryParser.java | 4 ++-- .../java/org/apache/commons/net/ftp/parser/OS400FTPEntryParser.java | 4 ++-- .../java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/org/apache/commons/net/DatagramSocketClient.java b/src/main/java/org/apache/commons/net/DatagramSocketClient.java index 2ac1a93c..f93b37f6 100644 --- a/src/main/java/org/apache/commons/net/DatagramSocketClient.java +++ b/src/main/java/org/apache/commons/net/DatagramSocketClient.java @@ -64,7 +64,7 @@ public abstract class DatagramSocketClient implements AutoCloseable { protected DatagramSocketFactory _socketFactory_ = DEFAULT_SOCKET_FACTORY; /** - * Default constructor for DatagramSocketClient. Initializes _socket_ to null, _timeout_ to 0, and _isOpen_ to false. + * Constructs a new instance. Initializes _socket_ to null, _timeout_ to 0, and _isOpen_ to false. */ public DatagramSocketClient() { } diff --git a/src/main/java/org/apache/commons/net/DefaultSocketFactory.java b/src/main/java/org/apache/commons/net/DefaultSocketFactory.java index 121bef82..ab9c3b09 100644 --- a/src/main/java/org/apache/commons/net/DefaultSocketFactory.java +++ b/src/main/java/org/apache/commons/net/DefaultSocketFactory.java @@ -41,7 +41,7 @@ public class DefaultSocketFactory extends SocketFactory { private final Proxy connProxy; /** - * The default constructor. + * Constructs a new instance. */ public DefaultSocketFactory() { this(null); diff --git a/src/main/java/org/apache/commons/net/chargen/CharGenTCPClient.java b/src/main/java/org/apache/commons/net/chargen/CharGenTCPClient.java index dcc3be5d..ec609304 100644 --- a/src/main/java/org/apache/commons/net/chargen/CharGenTCPClient.java +++ b/src/main/java/org/apache/commons/net/chargen/CharGenTCPClient.java @@ -52,7 +52,7 @@ public final class CharGenTCPClient extends SocketClient { public static final int DEFAULT_PORT = 19; /** - * The default constructor for CharGenTCPClient. It merely sets the default port to {@code DEFAULT_PORT}. + * Constructs a new instance. It merely sets the default port to {@code DEFAULT_PORT}. */ public CharGenTCPClient() { setDefaultPort(DEFAULT_PORT); diff --git a/src/main/java/org/apache/commons/net/ftp/parser/OS2FTPEntryParser.java b/src/main/java/org/apache/commons/net/ftp/parser/OS2FTPEntryParser.java index d50c201a..1578b34a 100644 --- a/src/main/java/org/apache/commons/net/ftp/parser/OS2FTPEntryParser.java +++ b/src/main/java/org/apache/commons/net/ftp/parser/OS2FTPEntryParser.java @@ -39,7 +39,7 @@ public class OS2FTPEntryParser extends ConfigurableFTPFileEntryParserImpl { + "(\\S.*)"; /** - * The default constructor for a OS2FTPEntryParser object. + * Constructs a new instance. * * @throws IllegalArgumentException Thrown if the regular expression is unparseable. Should not be seen under normal conditions. If it is seen, this is a * sign that {@code REGEX} is not a valid regular expression. @@ -49,7 +49,7 @@ public class OS2FTPEntryParser extends ConfigurableFTPFileEntryParserImpl { } /** - * This constructor allows the creation of an OS2FTPEntryParser object with something other than the default configuration. + * Constructs a new instance with something other than the default configuration. * * @param config The {@link FTPClientConfig configuration} object used to configure this parser. * @throws IllegalArgumentException Thrown if the regular expression is unparseable. Should not be seen under normal conditions. If it is seen, this is a diff --git a/src/main/java/org/apache/commons/net/ftp/parser/OS400FTPEntryParser.java b/src/main/java/org/apache/commons/net/ftp/parser/OS400FTPEntryParser.java index b32639e0..6c8abf5e 100644 --- a/src/main/java/org/apache/commons/net/ftp/parser/OS400FTPEntryParser.java +++ b/src/main/java/org/apache/commons/net/ftp/parser/OS400FTPEntryParser.java @@ -241,7 +241,7 @@ public class OS400FTPEntryParser extends ConfigurableFTPFileEntryParserImpl { + "((\\S+\\s*)+)?"; // file name, missing, when CWD is a *FILE /** - * The default constructor for a OS400FTPEntryParser object. + * Constructs a new instance. * * @throws IllegalArgumentException Thrown if the regular expression is unparseable. Should not be seen under normal conditions. If it is seen, this is a * sign that {@code REGEX} is not a valid regular expression. @@ -251,7 +251,7 @@ public class OS400FTPEntryParser extends ConfigurableFTPFileEntryParserImpl { } /** - * This constructor allows the creation of an OS400FTPEntryParser object with something other than the default configuration. + * Constructs a new instance with something other than the default configuration. * * @param config The {@link FTPClientConfig configuration} object used to configure this parser. * @throws IllegalArgumentException Thrown if the regular expression is unparseable. Should not be seen under normal conditions. If it is seen, this is a diff --git a/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java b/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java index ab59bf68..09dd9f4b 100644 --- a/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java +++ b/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java @@ -114,7 +114,7 @@ public class UnixFTPEntryParser extends ConfigurableFTPFileEntryParserImpl { final boolean trimLeadingSpaces; // package protected for access from test code /** - * The default constructor for a UnixFTPEntryParser object. + * Constructs a new instance. * * @throws IllegalArgumentException Thrown if the regular expression is unparseable. Should not be seen under normal conditions. * If this exception is seen, this is a sign that {@code REGEX} is not a valid regular expression. @@ -124,7 +124,7 @@ public class UnixFTPEntryParser extends ConfigurableFTPFileEntryParserImpl { } /** - * This constructor allows the creation of a UnixFTPEntryParser object with something other than the default configuration. + * Constructs a new instance with something other than the default configuration. * * @param config The {@link FTPClientConfig configuration} object used to configure this parser. * @throws IllegalArgumentException Thrown if the regular expression is unparseable. Should not be seen under normal conditions.