This is an automated email from the ASF dual-hosted git repository.
garydgregory 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 c66d035a [NET-745][Javadoc] Improve UnixFTPEntryParser when filename
with leading space when listing contains a year instead of time (IBM i example)
(#405).
c66d035a is described below
commit c66d035adac4ebfdf41c067e1cfaa13bb6f345ce
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Jul 22 10:40:31 2026 -0400
[NET-745][Javadoc] Improve UnixFTPEntryParser when filename with leading
space when listing contains a year instead of time (IBM i example)
(#405).
Sort members.
---
src/changes/changes.xml | 1 +
.../net/ftp/parser/DefaultFTPFileEntryParserFactoryTest.java | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index cceded11..10ffca92 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -68,6 +68,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix" dev="ggregory" due-to="Javid Khan, Gary
Gregory">Reject CR/LF in FTP, POP3, NNTP and SMTP command senders
(#400).</action>
<action type="fix" dev="ggregory" due-to="Javid Khan, Gary
Gregory">Check parser type before instantiating class in
DefaultFTPFileEntryParserFactory.createFileEntryParser() (#403).</action>
<action type="fix" dev="ggregory" due-to="Javid Khan, Gary Gregory">Run
hostname verifier on FTPS data connection (#404).</action>
+ <action type="fix" dev="ggregory" due-to="Sarankumar Baskar, Matt Pryor,
Gary Gregory" issue="NET-745">[Javadoc] Improve UnixFTPEntryParser when
filename with leading space when listing contains a year instead of time (IBM i
example) (#405).</action>
<!-- ADD -->
<!-- UPDATE -->
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump
org.apache.commons:commons-parent from 97 to 103.</action>
diff --git
a/src/test/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactoryTest.java
b/src/test/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactoryTest.java
index 1068b87c..b1559921 100644
---
a/src/test/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactoryTest.java
+++
b/src/test/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactoryTest.java
@@ -30,9 +30,6 @@ import org.junit.jupiter.api.Test;
class DefaultFTPFileEntryParserFactoryTest {
- /** Set from {@link ConstructorProbe}'s static initialiser; kept here so
reading it does not initialise the probe. */
- static boolean probeInitialized;
-
/** A non-parser class whose static initialiser records that the class was
initialised. */
public static final class ConstructorProbe {
static {
@@ -44,6 +41,9 @@ class DefaultFTPFileEntryParserFactoryTest {
}
}
+ /** Set from {@link ConstructorProbe}'s static initialiser; kept here so
reading it does not initialise the probe. */
+ static boolean probeInitialized;
+
private void checkParserClass(final FTPFileEntryParserFactory fact, final
String key, final Class<?> expected) {
final FTPClientConfig config = key == null ? new FTPClientConfig() :
new FTPClientConfig(key);
final FTPFileEntryParser parser = fact.createFileEntryParser(config);