summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRam Koya <rk541m@att.com>2018-08-27 14:09:09 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-27 14:09:09 +0000
commit9e6a53e27dee9ed6a303e61e3d62603bbc6b2581 (patch)
treefe4817f17e51ecfc8f7c991408d174eacf57f796
parent955386540f253be82c5a488b17c21e221ea30d2c (diff)
parent6b9670cd139fb8e755ca67a9f3fc02f2a5d514c6 (diff)
Merge "Fixed Sonar issue"
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/FeedAuthorization.java6
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);
+ }
}