diff options
author | 2018-08-27 14:49:07 +0530 | |
---|---|---|
committer | 2018-08-27 14:49:16 +0530 | |
commit | 6b9670cd139fb8e755ca67a9f3fc02f2a5d514c6 (patch) | |
tree | db2a561cded9d17f45194494dd1a5c94a24e56d6 /datarouter-prov/src/main | |
parent | e4006eb81cbfd6a07a95433fa77be6b6a7905fc6 (diff) |
Fixed Sonar issue
Fixed sonar issues in FeedAuthorization.java
Issue-ID: DMAAP-651
Change-Id: I131bc63a7302846a751fa783d6078de3f00e5930
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/FeedAuthorization.java | 6 |
1 files changed, 6 insertions, 0 deletions
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);
+ }
}
|