Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 19979 invoked from network); 3 Apr 2009 18:05:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Apr 2009 18:05:46 -0000 Received: (qmail 31555 invoked by uid 500); 3 Apr 2009 17:48:36 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 31497 invoked by uid 500); 3 Apr 2009 17:48:36 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 31477 invoked by uid 99); 3 Apr 2009 17:48:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 17:48:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 17:48:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0CB8A234C055 for ; Fri, 3 Apr 2009 10:48:13 -0700 (PDT) Message-ID: <601393913.1238780893050.JavaMail.jira@brutus> Date: Fri, 3 Apr 2009 10:48:13 -0700 (PDT) From: "Gilles Gaillard (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (NET-254) Convert FTPReply/FTPCommand to enums In-Reply-To: <65618001.1234021499744.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.