diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2019-01-21 15:17:09 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2019-01-21 15:17:09 +0900 |
commit | 4cba10bee4cd0f54ce2087bffce927acc458f205 (patch) | |
tree | 5bc52de5629337acf35da59ad1aae1248e9aa233 /org.eclipse.jgit.http.test/tst/org/eclipse/jgit | |
parent | a0f69ff387b392226da542b3e5d96b03db6001a8 (diff) | |
download | jgit-4cba10bee4cd0f54ce2087bffce927acc458f205.tar.gz jgit-4cba10bee4cd0f54ce2087bffce927acc458f205.zip |
SmartClientSmartServerTest#addBrokenContext: Remove unused TestRepository
Change-Id: Id2b44199cda7eee7ec949d31b9029ef9325a54f4
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.http.test/tst/org/eclipse/jgit')
-rw-r--r-- | org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java index fbc12e0c32..5089770421 100644 --- a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java +++ b/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() { |