commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (NET-599) Add shorthand FTPClientConfig constructor
Date Thu, 14 Jul 2016 13:28:20 GMT

     [ https://issues.apache.org/jira/browse/NET-599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved NET-599.
----------------------
       Resolution: Fixed
    Fix Version/s: 3.6

URL: http://svn.apache.org/viewvc?rev=1752660&view=rev
Log:
NET-599 Add shorthand FTPClientConfig constructor

Modified:
    commons/proper/net/trunk/src/changes/changes.xml
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClientConfig.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MVSFTPEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MacOsPeterFTPEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/NTFTPEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/OS2FTPEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/OS400FTPEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParser.java


> Add shorthand FTPClientConfig constructor
> -----------------------------------------
>
>                 Key: NET-599
>                 URL: https://issues.apache.org/jira/browse/NET-599
>             Project: Commons Net
>          Issue Type: Improvement
>            Reporter: Sebb
>             Fix For: 3.6
>
>
> Classes that instantiate FTPClientConfig mostly only need to configure the date format
strings, and don't need to set the server language etc, so these are passed as null.
> It would simplify the code to add a shorter form constructor omitting the rarely used
parameters



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message