Browse Source

SmartClientSmartServerTest#addBrokenContext: Remove unused TestRepository

Change-Id: Id2b44199cda7eee7ec949d31b9029ef9325a54f4
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
stable-5.4
David Pursehouse 6 years ago
parent
commit
4cba10bee4
  1. 6
      org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java

6
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java

@ -208,7 +208,7 @@ public class SmartClientSmartServerTest extends HttpTestCase {
ServletContextHandler app = addNormalContext(gs, src, srcName);
ServletContextHandler broken = addBrokenContext(gs, src, srcName);
ServletContextHandler broken = addBrokenContext(gs, srcName);
ServletContextHandler redirect = addRedirectContext(gs);
@ -287,8 +287,8 @@ public class SmartClientSmartServerTest extends HttpTestCase {
return app;
}
@SuppressWarnings("unused")
private ServletContextHandler addBrokenContext(GitServlet gs, TestRepository<Repository> src, String srcName) {
private ServletContextHandler addBrokenContext(GitServlet gs,
String srcName) {
ServletContextHandler broken = server.addContext("/bad");
broken.addFilter(new FilterHolder(new Filter() {

Loading…
Cancel
Save