geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@codehaus.org
Subject [jira] Closed: (GERONIMO-26) [patch] added null check to byte array equals and removed unneeded try-catch block
Date Wed, 27 Aug 2003 09:07:15 GMT
Message:

   The following issue has been closed.

   Resolver: Jason Dillon
       Date: Wed, 27 Aug 2003 4:06 AM

Applied patch
---------------------------------------------------------------------
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: Closed
   Priority: Minor
 Resolution: FIXED

 Time Spent: Unknown
  Remaining: Unknown

    Project: Apache Geronimo
 Components: 
             common

   Assignee: Jason Dillon
   Reporter: Brent Worden

    Created: Tue, 26 Aug 2003 11:08 PM
    Updated: Wed, 27 Aug 2003 4:06 AM

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


Mime
View raw message