diff options
author | 2020-04-01 12:45:32 +0000 | |
---|---|---|
committer | 2020-04-01 12:45:32 +0000 | |
commit | 28b8bc3127aff034b1b7dcc40a00097bf262c7d7 (patch) | |
tree | 9438d495756e74b400e0e613ed3ba08bc7438feb /certServiceClient/src/main/java/org/onap/aaf/certservice/client | |
parent | 3ded702865858013429dda3f3af3d134748e5df7 (diff) | |
parent | 7f704d9cf730d6defa7b2acef1aa79dae5152765 (diff) |
Merge "Fix sonar issue AppExitHandler"
Diffstat (limited to 'certServiceClient/src/main/java/org/onap/aaf/certservice/client')
-rw-r--r-- | certServiceClient/src/main/java/org/onap/aaf/certservice/client/AppExitHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/certServiceClient/src/main/java/org/onap/aaf/certservice/client/AppExitHandler.java b/certServiceClient/src/main/java/org/onap/aaf/certservice/client/AppExitHandler.java index caeca37e..0bb983ed 100644 --- a/certServiceClient/src/main/java/org/onap/aaf/certservice/client/AppExitHandler.java +++ b/certServiceClient/src/main/java/org/onap/aaf/certservice/client/AppExitHandler.java @@ -26,8 +26,8 @@ public class AppExitHandler { private static final Logger LOGGER = LoggerFactory.getLogger(AppExitHandler.class); public void exit(ExitStatus exitStatus) { - LOGGER.info(String.format("Application exits with following exit code: %s and message: %s", - exitStatus.getExitCodeValue(), exitStatus.getMessage())); + LOGGER.info("Application exits with following exit code: {} and message: {}", + exitStatus.getExitCodeValue(), exitStatus.getMessage()); System.exit(exitStatus.getExitCodeValue()); } } |