Skip to content

Commit

Permalink
Remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
jhy committed Nov 2, 2023
1 parent 45d327f commit 84fd437
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/java/org/jsoup/integration/TestServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static String map(Class<? extends BaseServlet> servletClass) {
}
}

public static ProxySettings proxySettings(Class<? extends BaseServlet> servletClass) {
public static ProxySettings proxySettings() {
synchronized (jetty) {
if (!jetty.isStarted())
start(); // if running out of the test cases
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@
import java.io.BufferedInputStream;
import java.io.IOException;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.List;
import java.util.Map;

public class ProxyServlet extends BaseServlet{
public static TestServer.ProxySettings ProxySettings = TestServer.proxySettings(ProxyServlet.class);
public static TestServer.ProxySettings ProxySettings = TestServer.proxySettings();
public static String Via = "1.1 jsoup test proxy";

@Override
Expand Down

0 comments on commit 84fd437

Please sign in to comment.