package org.onap.dmaap.datarouter.provisioning.beans;\r
\r
import java.util.HashSet;\r
+import java.util.Objects;\r
import java.util.Set;\r
\r
import org.json.JSONArray;\r
\r
public FeedAuthorization() {\r
this.classification = "";\r
- this.endpoint_ids = new HashSet<FeedEndpointID>();\r
- this.endpoint_addrs = new HashSet<String>();\r
+ this.endpoint_ids = new HashSet<>();\r
+ this.endpoint_addrs = new HashSet<>();\r
}\r
\r
public String getClassification() {\r
return false;\r
return true;\r
}\r
+\r
+ @Override\r
+ public int hashCode() {\r
+ return Objects.hash(classification, endpoint_ids, endpoint_addrs);\r
+ }\r
}\r