Skip to content

Commit 95fc259

Browse files
committed
[refactor] Address static analysis warnings from Codacy and Sonarcloud
1 parent a09c651 commit 95fc259

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

exist-core/src/main/java/org/exist/jetty/JettyStart.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,6 @@ public class JettyStart extends Observable implements LifeCycle.Listener {
103103

104104

105105
public static void main(final String[] args) {
106-
String jettyConfigFile = null;
107-
Optional<String> existdbConfigFile = Optional.empty();
108106
try {
109107
CompatibleJavaVersionCheck.checkForCompatibleJavaVersion();
110108

exist-core/src/main/java/org/exist/launcher/LauncherWrapper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
*/
5555
public class LauncherWrapper {
5656

57-
private final static String LAUNCHER = org.exist.launcher.Launcher.class.getName();
58-
private final static String OS = OSUtil.getOS().toLowerCase();
57+
private static final String LAUNCHER = org.exist.launcher.Launcher.class.getName();
58+
private static final String OS = OSUtil.getOS().toLowerCase();
5959

6060
/* general arguments */
6161
private static final Argument<?> helpArg = helpArgument("-h", "--help");

0 commit comments

Comments
 (0)