[arquillian-issues] [JBoss JIRA] (ARQAJO-122) Class Point should override default equals and hashCode
Lukáš Fryč (JIRA)
jira-events at lists.jboss.org
Thu Jan 26 11:45:49 EST 2012
[ https://issues.jboss.org/browse/ARQAJO-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662221#comment-12662221 ]
Lukáš Fryč commented on ARQAJO-122:
-----------------------------------
Juraj, it's good point,
could you please provide pull request for this feature?
> Class Point should override default equals and hashCode
> -------------------------------------------------------
>
> Key: ARQAJO-122
> URL: https://issues.jboss.org/browse/ARQAJO-122
> Project: Arquillian Ajocado
> Issue Type: Enhancement
> Components: core
> Affects Versions: 1.0.0.CR2
> Reporter: Juraj Huska
> Priority: Minor
>
> org.jboss.arquillian.ajocado.geometry.Point should override default equals and hashCode, since now the following statement does not return what expected, that these two points should be equal:
> {code}
> Point point1 = new Point(20, 20);
> Point point2 = new Point(20, 20);
> point1.equals(point2);
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list