Remove dead code and unused variables

Change-Id: If87f7ad452ce597c82872b36a76f32afcc6ab7fd
This commit is contained in:
Nasser Grainawi
2011-05-18 18:08:47 -07:00
committed by Shawn O. Pearce
parent c7a1d91dd7
commit 8bc0d7d481
12 changed files with 4 additions and 54 deletions

View File

@@ -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();