From 6b9670cd139fb8e755ca67a9f3fc02f2a5d514c6 Mon Sep 17 00:00:00 2001 From: Amaresh Kumar Date: Mon, 27 Aug 2018 14:49:07 +0530 Subject: Fixed Sonar issue Fixed sonar issues in FeedAuthorization.java Issue-ID: DMAAP-651 Change-Id: I131bc63a7302846a751fa783d6078de3f00e5930 Signed-off-by: Amaresh Kumar --- .../onap/dmaap/datarouter/provisioning/beans/FeedAuthorization.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/FeedAuthorization.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedAuthorization.java index 16512d9f..a7213e09 100644 --- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedAuthorization.java +++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedAuthorization.java @@ -25,6 +25,7 @@ package org.onap.dmaap.datarouter.provisioning.beans; import java.util.HashSet; +import java.util.Objects; import java.util.Set; import org.json.JSONArray; @@ -101,4 +102,9 @@ public class FeedAuthorization implements JSONable { return false; return true; } + + @Override + public int hashCode() { + return Objects.hash(classification, endpoint_ids, endpoint_addrs); + } } -- cgit 1.2.3-korg