Remove dead code identified by Eclipse 3.5.1

Change-Id: Ia15a6d777df6d8771c7b9524aba1e21c4e0e8d09
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2009-11-16 10:13:59 -08:00
parent 89c67cb6a2
commit ae98e8017f
7 changed files with 2 additions and 22 deletions

View File

@@ -291,7 +291,6 @@ class GitWebServlet extends HttpServlet {
}
final Map<String, String> params = getParameters(req);
final String action = params.get("a");
if (deniedActions.contains(params.get("a"))) {
rsp.sendError(HttpServletResponse.SC_FORBIDDEN);
return;
@@ -307,7 +306,6 @@ class GitWebServlet extends HttpServlet {
}
final ProjectControl project;
final boolean anonymousRead;
try {
final Project.NameKey nameKey = new Project.NameKey(name);
project = projectControl.validateFor(nameKey);