aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaresh Kumar <kamaresh@in.ibm.com>2018-08-27 15:06:58 +0530
committerAmaresh Kumar <kamaresh@in.ibm.com>2018-08-27 15:07:07 +0530
commit6b58a6dbb62ef5b14b640325bd95537e23050a95 (patch)
tree24b800f44f455513923ba3438bee78c32bf6b3d2
parente4006eb81cbfd6a07a95433fa77be6b6a7905fc6 (diff)
Fixed Sonar issues
Fixed Sonar Issues in FeedLinks.java Issue-ID: DMAAP-652 Change-Id: If7c0940def63f7c1314c2100e6c6c458db6f1182 Signed-off-by: Amaresh Kumar <kamaresh@in.ibm.com>
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedLinks.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedLinks.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedLinks.java
index 261e2741..77726bb4 100644
--- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedLinks.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedLinks.java
@@ -25,6 +25,7 @@
package org.onap.dmaap.datarouter.provisioning.beans;
import java.io.InvalidObjectException;
+import java.util.Objects;
import org.json.JSONObject;
@@ -109,4 +110,9 @@ public class FeedLinks implements JSONable {
return false;
return true;
}
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(self, publish, subscribe, log);
+ }
}