Uploaded image for project: 'Arquillian Graphene'
  1. Arquillian Graphene
  2. ARQGRA-33

Classes Point, Dimension and Offset should override default equals and hashCode

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • Minor
    • Resolution: Done
    • 1.0.0.CR2
    • 1.0.0.CR3
    • core
    • None

    Description

      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:

      Point point1 = new Point(20, 20);
      Point point2 = new Point(20, 20);
      
      point1.equals(point2);
      

      Attachments

        Activity

          People

            lfryc Lukáš Fryč (Inactive)
            jhuska_jira Juraj Húska (Inactive)
            Archiver:
            samahaja@redhat.com Sagar Mahajan

            Dates

              Created:
              Updated:
              Resolved:
              Archived: