aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2020-04-22 12:35:11 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-22 12:35:11 +0000
commit6ac1ea35981e6b99e5ef1755a76e0f5f722473ff (patch)
tree134bf4a9cb5866e9c62cbca0412cb9aed8217fe1
parent9da66a77052759340ae3001f7ee0d6a47b834e13 (diff)
parent2caa99475f0bacb636e95f13aabcec1fee55766b (diff)
Merge "Fix sonar issue SslSuportLevel"
-rw-r--r--pnfsimulator/src/main/java/org/onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pnfsimulator/src/main/java/org/onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevel.java b/pnfsimulator/src/main/java/org/onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevel.java
index 393a6c5..2325ebc 100644
--- a/pnfsimulator/src/main/java/org/onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevel.java
+++ b/pnfsimulator/src/main/java/org/onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevel.java
@@ -68,7 +68,7 @@ public enum SslSupportLevel {
.build();
} catch (GeneralSecurityException e) {
- LOGGER.error("Could not initialize client due to SSL exception: {}. Default client without SSL support will be used instead.\nCause: {}", e.getMessage(), e.getCause().toString());
+ LOGGER.error("Could not initialize client due to SSL exception: {}. Default client without SSL support will be used instead.\nCause: {}", e.getMessage(), e.getCause());
client = NONE.getClient(requestConfig, sslAuthenticationHelper);
}
return client;