Skip to content

Commit c66d035

Browse files
committed
[NET-745][Javadoc] Improve UnixFTPEntryParser when filename with leading
space when listing contains a year instead of time (IBM i example) (#405). Sort members.
1 parent ba6d2d6 commit c66d035

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/changes/changes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ The <action> type attribute can be add,update,fix,remove.
6868
<action type="fix" dev="ggregory" due-to="Javid Khan, Gary Gregory">Reject CR/LF in FTP, POP3, NNTP and SMTP command senders (#400).</action>
6969
<action type="fix" dev="ggregory" due-to="Javid Khan, Gary Gregory">Check parser type before instantiating class in DefaultFTPFileEntryParserFactory.createFileEntryParser() (#403).</action>
7070
<action type="fix" dev="ggregory" due-to="Javid Khan, Gary Gregory">Run hostname verifier on FTPS data connection (#404).</action>
71+
<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>
7172
<!-- ADD -->
7273
<!-- UPDATE -->
7374
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump org.apache.commons:commons-parent from 97 to 103.</action>

src/test/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactoryTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@
3030

3131
class DefaultFTPFileEntryParserFactoryTest {
3232

33-
/** Set from {@link ConstructorProbe}'s static initialiser; kept here so reading it does not initialise the probe. */
34-
static boolean probeInitialized;
35-
3633
/** A non-parser class whose static initialiser records that the class was initialised. */
3734
public static final class ConstructorProbe {
3835
static {
@@ -44,6 +41,9 @@ public ConstructorProbe() {
4441
}
4542
}
4643

44+
/** Set from {@link ConstructorProbe}'s static initialiser; kept here so reading it does not initialise the probe. */
45+
static boolean probeInitialized;
46+
4747
private void checkParserClass(final FTPFileEntryParserFactory fact, final String key, final Class<?> expected) {
4848
final FTPClientConfig config = key == null ? new FTPClientConfig() : new FTPClientConfig(key);
4949
final FTPFileEntryParser parser = fact.createFileEntryParser(config);

0 commit comments

Comments
 (0)