Sonar fix for SubLinks.java

https://sonar.onap.org/project/issues?id=org.onap.dmaap.datarouter%3Aparent&open=AWHFaQpEEU5FCDfKtnaF&resolved=false&severities=BLOCKER&types=BUG

Issue-ID: DMAAP-681
Change-Id: Ie55fdabef3e7fa34ae6e93be82d7a1ef0a4a710c
Signed-off-by: Amaresh Kumar <kamaresh@in.ibm.com>
diff --git a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubLinks.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubLinks.java
index f07a76e..d3f82e6 100644
--- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubLinks.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubLinks.java
@@ -25,6 +25,7 @@
 package org.onap.dmaap.datarouter.provisioning.beans;

 

 import java.io.InvalidObjectException;

+import java.util.Objects;

 

 import org.json.JSONObject;

 

@@ -102,4 +103,9 @@
             return false;

         return true;

     }

+

+    @Override

+    public int hashCode() {

+        return Objects.hash(self, feed, log);

+    }

 }