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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user