IPAddress class overrides equals but not hashCode

Description

The class at opennms-model/src/main/java/org/opennms/netmgt/model/discovery/IPAddress.java overrides equals but not hashCode which is agains the equals/hashCode contract.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Benjamin Reed May 19, 2011 at 5:24 PM

Implemented in master using Arrays.equals(a, b) and Arrays.hashCode(obj)

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created March 14, 2011 at 5:06 PM
Updated January 27, 2017 at 4:20 PM
Resolved May 19, 2011 at 5:24 PM