From 6b58a6dbb62ef5b14b640325bd95537e23050a95 Mon Sep 17 00:00:00 2001 From: Amaresh Kumar Date: Mon, 27 Aug 2018 15:06:58 +0530 Subject: Fixed Sonar issues Fixed Sonar Issues in FeedLinks.java Issue-ID: DMAAP-652 Change-Id: If7c0940def63f7c1314c2100e6c6c458db6f1182 Signed-off-by: Amaresh Kumar --- .../org/onap/dmaap/datarouter/provisioning/beans/FeedLinks.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'datarouter-prov/src') 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); + } } -- cgit 1.2.3-korg