Fixed Sonar issue in SubDelivery.Java

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

Issue-ID: DMAAP-682
Change-Id: Ic08968dedc5cab5a21ea4476be5653c41ab71b04
Signed-off-by: Amaresh Kumar <kamaresh@in.ibm.com>
diff --git a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubDelivery.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubDelivery.java
index fe60f89..98981a3 100644
--- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubDelivery.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubDelivery.java
@@ -26,6 +26,7 @@
 

 import java.sql.ResultSet;

 import java.sql.SQLException;

+import java.util.Objects;

 

 import org.json.JSONObject;

 

@@ -118,4 +119,9 @@
             return false;

         return true;

     }

+

+    @Override

+    public int hashCode() {

+        return Objects.hash(url, user, password, use100);

+    }

 }