summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprakash.e <prakash.e@huawei.com>2017-12-19 19:23:28 +0530
committerprakash eswaramoorthy <prakash.e@huawei.com>2017-12-21 05:09:45 +0000
commit6cf53198be74497668c3ed38f2127b26ae74bc69 (patch)
tree4821e6b9ae16af15023b1db30fd15cce38a8a9d8
parent416a026a496c933941f4d2ebfebc627a59ac647c (diff)
typeCasting issue and useless assignment fix
Change-Id: Iab98bdec347fc9b15afc78de1b99eab8fbff5ad1 Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>
-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;