Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 87600 invoked by uid 500); 27 Aug 2003 04:41:57 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 87582 invoked from network); 27 Aug 2003 04:41:57 -0000 Received: from unknown (HELO hogshead.codehaus.org) (66.216.68.111) by daedalus.apache.org with SMTP; 27 Aug 2003 04:41:57 -0000 Received: from hogshead.codehaus.org (hogshead.codehaus.org [66.216.68.111]) by hogshead.codehaus.org (8.11.6/8.11.6) with ESMTP id h7R49F131934 for ; Tue, 26 Aug 2003 23:09:15 -0500 Message-ID: <12662190.1061957355657.JavaMail.orion@hogshead.codehaus.org> Date: Tue, 26 Aug 2003 23:09:15 -0500 (CDT) From: jira@codehaus.org To: geronimo-dev@incubator.apache.org Subject: [jira] Created: (GERONIMO-26) [patch] added null check to byte array equals and removed unneeded try-catch block Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=GERONIMO-26 Here is an overview of the issue: --------------------------------------------------------------------- Key: GERONIMO-26 Summary: [patch] added null check to byte array equals and removed unneeded try-catch block Type: Improvement Status: Unassigned Priority: Minor Time Spent: Unknown Remaining: Unknown Project: Apache Geronimo Components: common Assignee: Reporter: Brent Worden Created: Tue, 26 Aug 2003 11:08 PM Updated: Tue, 26 Aug 2003 11:08 PM Description: null checks weren't being performed in the equals(byte[], int, byte[], int, int) method. remove the try-catch block from equals(byte[], byte[]) method because the length equality check prevents the exception from ever being thrown. changes are complimented with a full battery of test cases. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira