commit | c52a357a3f3e0c551fb57d3d0f25ded09cecabfe | [log] [tgz] |
---|---|---|
author | Amaresh Kumar <kamaresh@in.ibm.com> | Fri Aug 31 17:56:17 2018 +0530 |
committer | Amaresh Kumar <kamaresh@in.ibm.com> | Fri Aug 31 17:56:30 2018 +0530 |
tree | b9d5c56ecac082b539ca7407dcd1c818510732ba | |
parent | e647d5737c2735262a9cee302eb82e83d19a27c1 [diff] |
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); + } }