GitwebServlet: Remove invalid SuppressWarnings annotation

Change-Id: I4cdfe6a681b0e50331436aa379b990fca1598669
This commit is contained in:
David Pursehouse
2015-06-24 09:47:47 +09:00
parent 0b03d4c1c0
commit 787090d9bb

View File

@@ -415,8 +415,7 @@ class GitwebServlet extends HttpServlet {
}
try (@SuppressWarnings("UnusedDeclaration") // only open for existence-check
Repository repo = repoManager.openRepository(nameKey)) {
try (Repository repo = repoManager.openRepository(nameKey)) {
CacheHeaders.setNotCacheable(rsp);
exec(req, rsp, project);
} catch (RepositoryNotFoundException e) {