From 6cf53198be74497668c3ed38f2127b26ae74bc69 Mon Sep 17 00:00:00 2001 From: "prakash.e" Date: Tue, 19 Dec 2017 19:23:28 +0530 Subject: typeCasting issue and useless assignment fix Change-Id: Iab98bdec347fc9b15afc78de1b99eab8fbff5ad1 Issue-ID: CCSDK-151 Signed-off-by: prakash.e --- .../java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebCallback.java | 2 +- .../java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebClient.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ueb-listener') 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; -- cgit 1.2.3-korg