commit | 21577893cd846442cf8832fdd0ff3d7d7db3e23b | [log] [tgz] |
---|---|---|
author | Taka Cho <takamune.cho@att.com> | Wed Jun 17 16:41:57 2020 -0400 |
committer | Taka Cho <takamune.cho@att.com> | Thu Jun 18 09:31:58 2020 -0400 |
tree | 17d2a97014aee72d1b3be40204bf76b7ed70933c | |
parent | 1fdba85a145be36060262d4575995a7752d7a396 [diff] |
equals and hashCode should be overridden in pairs hashCode should be overridden in pairs. followed by Effective Java: You must override hashCode() in every class that overrides equals(). Failure to do so will result in a violation of the general contract for Object.hashCode(), which will prevent your class from functioning properly in conjunction with all hash-based collections, including HashMap, HashSet, and Hashtable. Issue-ID: POLICY-2616 Change-Id: I2b29722daab5c520547397aae68d8ebaa71b2c4b Signed-off-by: Taka Cho <takamune.cho@att.com>
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains the ONAP Policy DroolsPDP code. To build it: