commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Gaillard (JIRA)" <j...@apache.org>
Subject [jira] Commented: (NET-254) Convert FTPReply/FTPCommand to enums
Date Fri, 03 Apr 2009 17:48:13 GMT

    [ 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.


Mime
View raw message