[dna-issues] [JBoss JIRA] Resolved: (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:08:29 EDT 2009
[ https://jira.jboss.org/jira/browse/DNA-492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Carothers resolved DNA-492.
---------------------------------
Fix Version/s: 0.6
Resolution: Done
Assignee: Brian Carothers
Committed patch to resolve issue
> 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
> Assignee: Brian Carothers
> Priority: Trivial
> Fix For: 0.6
>
> Attachments: DNA-492.patch
>
>
> 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