diff options
author | Amaresh Kumar <kamaresh@in.ibm.com> | 2018-08-31 17:56:17 +0530 |
---|---|---|
committer | Amaresh Kumar <kamaresh@in.ibm.com> | 2018-08-31 17:56:30 +0530 |
commit | c52a357a3f3e0c551fb57d3d0f25ded09cecabfe (patch) | |
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>
-rw-r--r-- | datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubDelivery.java | 6 |
1 files changed, 6 insertions, 0 deletions
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 fe60f89f..98981a30 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 @@ package org.onap.dmaap.datarouter.provisioning.beans; import java.sql.ResultSet;
import java.sql.SQLException;
+import java.util.Objects;
import org.json.JSONObject;
@@ -118,4 +119,9 @@ public class SubDelivery implements JSONable { return false;
return true;
}
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(url, user, password, use100);
+ }
}
|