aboutsummaryrefslogtreecommitdiffstats
path: root/datarouter-prov/src/main
diff options
context:
space:
mode:
authorRam Koya <rk541m@att.com>2018-08-31 15:23:48 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-31 15:23:48 +0000
commit4ee1a5058de07e0177933850b1f8e80377365e5c (patch)
tree24ec799495cda13090e1e5df84596d56d8160b67 /datarouter-prov/src/main
parent998071748faae0b0da58e6a50f8765fbd23b1969 (diff)
parentc52a357a3f3e0c551fb57d3d0f25ded09cecabfe (diff)
Merge "Fixed Sonar issue in SubDelivery.Java"
Diffstat (limited to 'datarouter-prov/src/main')
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/beans/SubDelivery.java6
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);
+ }
}