aboutsummaryrefslogtreecommitdiffstats
path: root/appc-config/appc-config-adaptor
diff options
context:
space:
mode:
authorSudarshan Kumar <sudars19@in.ibm.com>2019-02-11 17:49:55 +0530
committerTakamune Cho <takamune.cho@att.com>2019-02-11 20:05:37 +0000
commit422344933185539064ba5fd0b267e88bc442c23d (patch)
treeaf65209b1ba8b5daa44e966a6b1b8700965d2ee5 /appc-config/appc-config-adaptor
parent33ffb11e62dcca65c010ae9c07b68e15687a36b5 (diff)
Removed PrintStackTrace SshJcraftWrapper.java
Removed PrintStackTrace SshJcraftWrapper.java Issue-ID: APPC-1399 Change-Id: Ice16de4fd8d997643d4dea73a4ebacc75f2b2d49 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
Diffstat (limited to 'appc-config/appc-config-adaptor')
-rw-r--r--appc-config/appc-config-adaptor/provider/src/main/java/org/onap/appc/ccadaptor/SshJcraftWrapper.java13
1 files changed, 6 insertions, 7 deletions
diff --git a/appc-config/appc-config-adaptor/provider/src/main/java/org/onap/appc/ccadaptor/SshJcraftWrapper.java b/appc-config/appc-config-adaptor/provider/src/main/java/org/onap/appc/ccadaptor/SshJcraftWrapper.java
index d4deb1fa5..62773a06c 100644
--- a/appc-config/appc-config-adaptor/provider/src/main/java/org/onap/appc/ccadaptor/SshJcraftWrapper.java
+++ b/appc-config/appc-config-adaptor/provider/src/main/java/org/onap/appc/ccadaptor/SshJcraftWrapper.java
@@ -7,7 +7,9 @@
* Copyright (C) 2017 Amdocs
* ================================================================================
* Modifications Copyright (C) 2018 Ericsson
- * =============================================================================
+ * ================================================================================
+ * Modifications Copyright (c) 2019 IBM
+ * ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -372,7 +374,6 @@ public class SshJcraftWrapper {
} catch (IOException e) {
DebugLog.printAriDebug(fnName, "Caught an Exception, e=" + e);
dbLog.outputStackTrace(e);
- e.printStackTrace();
}
} else {
// When looking at the end of the charBuffer, don't include any linefeeds or spaces. We only want to make the smallest string possible.
@@ -402,7 +403,6 @@ public class SshJcraftWrapper {
} catch (IOException e) {
DebugLog.printAriDebug(fnName, "Caught an Exception, e=" + e);
dbLog.outputStackTrace(e);
- e.printStackTrace();
}
}
}
@@ -609,8 +609,8 @@ public class SshJcraftWrapper {
}
}
} catch (IOException e) {
- System.err.println("writeToFile() exception: " + e);
- e.printStackTrace();
+ DebugLog.printAriDebug(fnName, "writeToFile() exception:, e=" + e);
+ dbLog.outputStackTrace(e);
}
}
@@ -625,8 +625,7 @@ public class SshJcraftWrapper {
}
}
} catch (IOException e) {
- System.err.println("writeToFile() exception: " + e);
- e.printStackTrace();
+ dbLog.outputStackTrace(e);
}
}