[dna-issues] [JBoss JIRA] Created: (DNA-492) BasicPathSegment Checks the SNS Index in equals But Not hashcode

Brian Carothers (JIRA) jira-events at lists.jboss.org
Mon Jul 13 11:04:29 EDT 2009


BasicPathSegment Checks the SNS Index in equals But Not hashcode
----------------------------------------------------------------

                 Key: DNA-492
                 URL: https://jira.jboss.org/jira/browse/DNA-492
             Project: DNA
          Issue Type: Feature Request
          Components: Graph
    Affects Versions: 0.5
            Reporter: Brian Carothers
            Priority: Trivial


Since BasicPathSegment does compare the SNS index in the equals method, this does not prevent HashMap and HashSet from working correctly, but it does increase the likelihood of a collision.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the dna-issues mailing list