diff --git a/src/test/java/com/atlassian/httpclient/apache/httpcomponents/ApacheAsyncHttpClientTest.java b/src/test/java/com/atlassian/httpclient/apache/httpcomponents/ApacheAsyncHttpClientTest.java index 9dbd10ce..405bda4f 100644 --- a/src/test/java/com/atlassian/httpclient/apache/httpcomponents/ApacheAsyncHttpClientTest.java +++ b/src/test/java/com/atlassian/httpclient/apache/httpcomponents/ApacheAsyncHttpClientTest.java @@ -164,9 +164,7 @@ public static class ProxyTestHandler extends Handler.Abstract { @Override public boolean handle( - org.eclipse.jetty.server.Request request, - org.eclipse.jetty.server.Response response, - Callback callback) + org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response, Callback callback) throws IOException { final String credentials = Base64.getEncoder().encodeToString((user + ":" + password).getBytes("UTF-8")); @@ -202,9 +200,7 @@ public static class TestHandler extends Handler.Abstract { @Override public boolean handle( - org.eclipse.jetty.server.Request request, - org.eclipse.jetty.server.Response response, - Callback callback) + org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response, Callback callback) throws IOException { if (StringUtils.equalsIgnoreCase("post", request.getMethod())) { postReceived = Content.Source.asString(request, StandardCharsets.UTF_8); diff --git a/src/test/java/hudson/plugins/jira/JiraSiteSecurity1029Test.java b/src/test/java/hudson/plugins/jira/JiraSiteSecurity1029Test.java index 7c6df61a..63d7d185 100644 --- a/src/test/java/hudson/plugins/jira/JiraSiteSecurity1029Test.java +++ b/src/test/java/hudson/plugins/jira/JiraSiteSecurity1029Test.java @@ -26,11 +26,11 @@ import jenkins.model.Jenkins; import jenkins.security.ApiTokenProperty; import net.sf.json.JSONObject; -import org.eclipse.jetty.server.Server; -import org.eclipse.jetty.server.ServerConnector; import org.eclipse.jetty.ee8.servlet.DefaultServlet; import org.eclipse.jetty.ee8.servlet.ServletContextHandler; import org.eclipse.jetty.ee8.servlet.ServletHolder; +import org.eclipse.jetty.server.Server; +import org.eclipse.jetty.server.ServerConnector; import org.htmlunit.HttpMethod; import org.htmlunit.Page; import org.htmlunit.WebRequest;