summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);