summaryrefslogtreecommitdiffstats
path: root/ueb-listener
diff options
context:
space:
mode:
authorprakash.e <prakash.e@huawei.com>2018-01-09 21:14:18 +0530
committerprakash.e <prakash.e@huawei.com>2018-01-09 21:14:18 +0530
commit8c449d91d0271d1119a40b1d693ef21154508ce1 (patch)
tree21d9b75b95e07f5c841667e7ac0ad2738591b3db /ueb-listener
parent4b3d9579edc94c174fd942c488f6efa57c9e24b7 (diff)
Removal of unused variables
*Romoved unused variables and code changes for performance improvement Change-Id: Ibe1993b750653d24379ffcc3638b71f6cefcaa6b Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>
Diffstat (limited to 'ueb-listener')
-rw-r--r--ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebCallback.java6
1 files changed, 2 insertions, 4 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 5041b4dc3..7c4f35a6f 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
@@ -875,7 +875,7 @@ public class SdncUebCallback implements INotificationCallback {
DistributionStatusEnum deployResult;
- StringBuffer msgBuffer = new StringBuffer();
+ StringBuilder msgBuffer = new StringBuilder();
String namespace = config.getAsdcApiNamespace();
@@ -1047,8 +1047,6 @@ public class SdncUebCallback implements INotificationCallback {
private File applyXslts(File srcFile) {
- Document doc;
-
File inFile = srcFile;
File outFile = null;
@@ -1093,7 +1091,7 @@ public class SdncUebCallback implements INotificationCallback {
if (str == null) {
str = "";
}
- StringBuffer retval = new StringBuffer();
+ StringBuilder retval = new StringBuilder();
for (int i = 0 ; i < str.length() ; i++) {
char curchar = str.charAt(i);