summaryrefslogtreecommitdiffstats
path: root/ueb-listener
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-12-21 14:26:56 +0000
committerGerrit Code Review <gerrit@onap.org>2017-12-21 14:26:56 +0000
commit971018eab9fa64d1c408b84d3d9d8f70b95eec32 (patch)
tree7ca6634c4bd5f3aed95449c7fbcc96557ecc533d /ueb-listener
parenta58324f0c62dfcad1cd36324e978ef656d74a9f6 (diff)
parent6cf53198be74497668c3ed38f2127b26ae74bc69 (diff)
Merge "typeCasting issue and useless assignment fix"
Diffstat (limited to 'ueb-listener')
-rw-r--r--ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebCallback.java2
-rw-r--r--ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebClient.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebCallback.java b/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebCallback.java
index aa856b4fe..39ed39676 100644
--- a/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebCallback.java
+++ b/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebCallback.java
@@ -881,7 +881,7 @@ public class SdncUebCallback implements INotificationCallback {
private DistributionStatusEnum deploySpoolFile(DeployableArtifact artifact) {
- DistributionStatusEnum deployResult = DistributionStatusEnum.DEPLOY_OK;
+ DistributionStatusEnum deployResult;
StringBuffer msgBuffer = new StringBuffer();
diff --git a/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebClient.java b/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebClient.java
index 1d1f47634..0694a6da7 100644
--- a/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebClient.java
+++ b/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebClient.java
@@ -51,7 +51,7 @@ public class SdncUebClient {
long startTm = System.currentTimeMillis();
int sleepTm = config.getPollingInterval() * 1000;
- long maxWaitTm = config.getClientStartupTimeout() * 1000;
+ long maxWaitTm = config.getClientStartupTimeout() * 1000L;
boolean keepWaiting = true;