diff options
author | Amaresh Kumar <kamaresh@in.ibm.com> | 2018-08-31 17:51:27 +0530 |
---|---|---|
committer | Amaresh Kumar <kamaresh@in.ibm.com> | 2018-08-31 17:51:36 +0530 |
commit | 18797ce5f8c608bc392dfc272374c1dbe7da6863 (patch) | |
tree | 42bc45581ac13b3d06f12118ad0e2da43fb43441 /datarouter-prov/src/main | |
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>
Diffstat (limited to 'datarouter-prov/src/main')
-rw-r--r-- | datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubLinks.java | 6 |
1 files changed, 6 insertions, 0 deletions
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 f07a76e2..d3f82e6e 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 @@ public class SubLinks implements JSONable { return false;
return true;
}
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(self, feed, log);
+ }
}
|