From 9167d2d4a90d612fe206de1d5bcba998b86effbe Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Sun, 18 Sep 2022 10:17:26 -0400 Subject: [PATCH] checkstyle --- cli/src/main/java/org/owasp/dependencycheck/App.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/src/main/java/org/owasp/dependencycheck/App.java b/cli/src/main/java/org/owasp/dependencycheck/App.java index a4dbfc814f1..4120315b13d 100644 --- a/cli/src/main/java/org/owasp/dependencycheck/App.java +++ b/cli/src/main/java/org/owasp/dependencycheck/App.java @@ -657,8 +657,7 @@ private String getDefaultCveUrlModified(CliParser cli) { * @param verboseLog the path to the verbose log file */ private void prepareLogger(String verboseLog) { - LoggerContext context = (LoggerContext) LoggerFactory.getILoggerFactory(); - + final LoggerContext context = (LoggerContext) LoggerFactory.getILoggerFactory(); final PatternLayoutEncoder encoder = new PatternLayoutEncoder(); encoder.setPattern("%d %C:%L%n%-5level - %msg%n"); encoder.setContext(context);