PageParameters violates hashCode() contract
-------------------------------------------

                 Key: WICKET-3696
                 URL: https://issues.apache.org/jira/browse/WICKET-3696
             Project: Wicket
          Issue Type: Bug
            Reporter: Andreas Köhler
            Priority: Minor


        PageParameters param1 = new PageParameters();
        PageParameters param2 = new PageParameters();
        assertThat(param1, is(equalTo(param2)));
        assertThat(param1.hashCode(), is(equalTo(param2.hashCode())));

PageParameter overrides #equals(), but not #hashCode(), so two equal objects do 
not necessarily have the same hashCode().


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to