diff options
author | edyta <edyta.krukowska@nokia.com> | 2020-03-31 12:45:33 +0200 |
---|---|---|
committer | edyta <edyta.krukowska@nokia.com> | 2020-03-31 12:45:33 +0200 |
commit | 26d5436326c8139a5731fd913a8009ca5569be21 (patch) | |
tree | e865cdfccdbf81b27cdc6cf5fb61e8e1386a7436 /certServiceClient/src/main/java | |
parent | 88f5f147c47799078347c5dbbb94f35413fc47b6 (diff) |
Fix sonar issue KeyPairFactory
Issue-ID: AAF-1118
Signed-off-by: edyta <edyta.krukowska@nokia.com>
Change-Id: Ie9512a772c64a4217539eb80c3b31f90054fab33
Diffstat (limited to 'certServiceClient/src/main/java')
-rw-r--r-- | certServiceClient/src/main/java/org/onap/aaf/certservice/client/certification/KeyPairFactory.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/certServiceClient/src/main/java/org/onap/aaf/certservice/client/certification/KeyPairFactory.java b/certServiceClient/src/main/java/org/onap/aaf/certservice/client/certification/KeyPairFactory.java index 988d37d8..5bf103ba 100644 --- a/certServiceClient/src/main/java/org/onap/aaf/certservice/client/certification/KeyPairFactory.java +++ b/certServiceClient/src/main/java/org/onap/aaf/certservice/client/certification/KeyPairFactory.java @@ -28,7 +28,7 @@ import java.security.NoSuchAlgorithmException; public class KeyPairFactory { - private final Logger LOGGER = LoggerFactory.getLogger(KeyPairFactory.class); + private final static Logger LOGGER = LoggerFactory.getLogger(KeyPairFactory.class); private final String encryptionAlgorithm; private final int keySize; @@ -42,7 +42,7 @@ public class KeyPairFactory { LOGGER.info("KeyPair generation started with algorithm: {} and key size: {}", encryptionAlgorithm, keySize); return createKeyPairGenerator().generateKeyPair(); } catch (NoSuchAlgorithmException e) { - LOGGER.error("Generation of KeyPair failed, exception message: {}" , e.getMessage()); + LOGGER.error("Generation of KeyPair failed, exception message: {}", e.getMessage()); throw new KeyPairGenerationException(e); } } |