Remove dead code and unused variables
Change-Id: If87f7ad452ce597c82872b36a76f32afcc6ab7fd
This commit is contained in:

committed by
Shawn O. Pearce

parent
c7a1d91dd7
commit
8bc0d7d481
@@ -268,12 +268,9 @@ public class GerritDebugLauncher extends ServletContainerLauncher {
|
||||
private final ClassLoader systemClassLoader =
|
||||
Thread.currentThread().getContextClassLoader();
|
||||
|
||||
private final TreeLogger logger;
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private MyWebAppContext(TreeLogger logger, String webApp, String contextPath) {
|
||||
private MyWebAppContext(String webApp, String contextPath) {
|
||||
super(webApp, contextPath);
|
||||
this.logger = logger;
|
||||
|
||||
// Prevent file locking on Windows; pick up file changes.
|
||||
getInitParams().put(
|
||||
@@ -397,7 +394,7 @@ public class GerritDebugLauncher extends ServletContainerLauncher {
|
||||
// Create a new web app in the war directory.
|
||||
//
|
||||
WebAppContext wac =
|
||||
new MyWebAppContext(logger, warDir.getAbsolutePath(), "/");
|
||||
new MyWebAppContext(warDir.getAbsolutePath(), "/");
|
||||
wac.setDescriptor(webxml.getAbsolutePath());
|
||||
|
||||
RequestLogHandler logHandler = new RequestLogHandler();
|
||||
|
Reference in New Issue
Block a user