From 2caa99475f0bacb636e95f13aabcec1fee55766b Mon Sep 17 00:00:00 2001 From: Aleksandra Maciaga Date: Wed, 22 Apr 2020 14:20:19 +0200 Subject: Fix sonar issue SslSuportLevel Issue-ID: INT-1517 Signed-off-by: Aleksandra Maciaga Change-Id: I8ef686ef569d5bac727404bc46d1b164b363a872 --- .../onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pnfsimulator/src/main/java') 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; -- cgit 1.2.3-korg