[ 
https://issues.apache.org/jira/browse/NET-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695516#action_12695516
 ] 

Gilles Gaillard commented on NET-254:
-------------------------------------

You should increase the severity of this issue, since in 2.0 we can get the 
following error while using the mdtm command:
{noformat}
java.lang.ArrayIndexOutOfBoundsException: 33
        at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:534)
        at org.apache.commons.net.ftp.FTP.mdtm(FTP.java:1157)
        at 
org.apache.commons.net.ftp.FTPClient.getModificationTime(FTPClient.java:2382)
{noformat}


> Convert FTPReply/FTPCommand to enums
> ------------------------------------
>
>                 Key: NET-254
>                 URL: https://issues.apache.org/jira/browse/NET-254
>             Project: Commons Net
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Rory Winston
>            Assignee: Rory Winston
>            Priority: Minor
>             Fix For: 2.1
>
>
> Convert these classes to enum type : remove indexing into String[] commands, 
> etc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to