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

commit 685a575b3921b9e56c12843f82028773e359c091
Author: Gary D. Gregory <[email protected]>
AuthorDate: Wed Jul 16 09:29:52 2025 -0400

    Javadoc
---
 .../net/ftp/parser/DefaultFTPFileEntryParserFactory.java | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java
 
b/src/main/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java
index 0261682d..e3771798 100644
--- 
a/src/main/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java
+++ 
b/src/main/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java
@@ -33,11 +33,19 @@ import org.apache.commons.net.ftp.FTPFileEntryParser;
  */
 public class DefaultFTPFileEntryParserFactory implements 
FTPFileEntryParserFactory {
 
-    // Match a plain Java Identifier
+    /**
+     * Match a plain Java Identifier
+     */
     private static final String JAVA_IDENTIFIER = 
"\\p{javaJavaIdentifierStart}(\\p{javaJavaIdentifierPart})*";
-    // Match a qualified name, e.g. a.b.c.Name - but don't allow the default 
package as that would allow "VMS"/"UNIX" etc.
+
+    /**
+     * Match a qualified name, e.g. a.b.c.Name - but don't allow the default 
package as that would allow "VMS"/"UNIX" etc.
+     */
     private static final String JAVA_QUALIFIED_NAME = "(" + JAVA_IDENTIFIER + 
"\\.)+" + JAVA_IDENTIFIER;
-    // Create the pattern, as it will be reused many times
+
+    /**
+     * Create the pattern, as it will be reused many times
+     */
     private static final Pattern JAVA_QUALIFIED_NAME_PATTERN = 
Pattern.compile(JAVA_QUALIFIED_NAME);
 
     /**
@@ -48,10 +56,8 @@ public class DefaultFTPFileEntryParserFactory implements 
FTPFileEntryParserFacto
     }
 
     /**
-     * <p>
      * Implementation extracts a key from the supplied {@link FTPClientConfig 
FTPClientConfig} parameter and creates an object implementing the interface
      * FTPFileEntryParser and uses the supplied configuration to configure it.
-     * </p>
      * <p>
      * Note that this method will generally not be called in scenarios that 
call for autodetection of parser type but rather, for situations where the user
      * knows that the server uses a non-default configuration and knows what 
that configuration is.

Reply via email to