diff options
author | 2020-04-22 14:20:19 +0200 | |
---|---|---|
committer | 2020-04-22 14:20:19 +0200 | |
commit | 2caa99475f0bacb636e95f13aabcec1fee55766b (patch) | |
tree | 59fd078cce98c926c858aec43dc34c462bc9c470 /pnfsimulator/src/main | |
parent | 25764e61bcaf1b464dbed0898b34cb473db8ceda (diff) |
Fix sonar issue SslSuportLevel
Issue-ID: INT-1517
Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com>
Change-Id: I8ef686ef569d5bac727404bc46d1b164b363a872
Diffstat (limited to 'pnfsimulator/src/main')
-rw-r--r-- | pnfsimulator/src/main/java/org/onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevel.java | 2 |
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; |