[arquillian-issues] [JBoss JIRA] (ARQAJO-122) Class Point should override default equals and hashCode

Juraj Huska (JIRA) jira-events at lists.jboss.org
Fri Jan 27 05:14:48 EST 2012


     [ https://issues.jboss.org/browse/ARQAJO-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juraj Huska updated ARQAJO-122:
-------------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/arquillian/arquillian-ajocado/pull/28


Pull request sent for overriding hashCode and equals for classes from geometry package: Point, Dimension, Offset
                
> 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