commit | 18797ce5f8c608bc392dfc272374c1dbe7da6863 | [log] [tgz] |
---|---|---|
author | Amaresh Kumar <kamaresh@in.ibm.com> | Fri Aug 31 17:51:27 2018 +0530 |
committer | Amaresh Kumar <kamaresh@in.ibm.com> | Fri Aug 31 17:51:36 2018 +0530 |
tree | 42bc45581ac13b3d06f12118ad0e2da43fb43441 | |
parent | e647d5737c2735262a9cee302eb82e83d19a27c1 [diff] |
Sonar fix for SubLinks.java https://sonar.onap.org/project/issues?id=org.onap.dmaap.datarouter%3Aparent&open=AWHFaQpEEU5FCDfKtnaF&resolved=false&severities=BLOCKER&types=BUG Issue-ID: DMAAP-681 Change-Id: Ie55fdabef3e7fa34ae6e93be82d7a1ef0a4a710c Signed-off-by: Amaresh Kumar <kamaresh@in.ibm.com>
diff --git a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubLinks.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubLinks.java index f07a76e..d3f82e6 100644 --- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubLinks.java +++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubLinks.java
@@ -25,6 +25,7 @@ package org.onap.dmaap.datarouter.provisioning.beans; import java.io.InvalidObjectException; +import java.util.Objects; import org.json.JSONObject; @@ -102,4 +103,9 @@ return false; return true; } + + @Override + public int hashCode() { + return Objects.hash(self, feed, log); + } }