summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRam Koya <rk541m@att.com>2018-08-31 15:24:49 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-31 15:24:49 +0000
commitd88f9be17654939fe085e6dc417220b3d7486556 (patch)
treec8848949e16056bebd3e525964b8cd80051cb373
parent4ee1a5058de07e0177933850b1f8e80377365e5c (diff)
parent18797ce5f8c608bc392dfc272374c1dbe7da6863 (diff)
Merge "Sonar fix for SubLinks.java"
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubLinks.java6
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);
+ }
}