You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2021/03/26 07:14:50 UTC

[httpcomponents-client] 02/03: Cleanup of redirect request generation code in Redirect exec interceptors

This is an automated email from the ASF dual-hosted git repository.

olegk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git

commit 1633e29c10528cbe8da56bccc17aad3fbb356ec2
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Wed Feb 10 11:40:42 2021 +0100

    Cleanup of redirect request generation code in Redirect exec interceptors
---
 .../org/apache/hc/client5/http/impl/async/AsyncRedirectExec.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/AsyncRedirectExec.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/AsyncRedirectExec.java
index b5c7eaf..9304e62 100644
--- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/AsyncRedirectExec.java
+++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/AsyncRedirectExec.java
@@ -26,9 +26,6 @@
  */
 package org.apache.hc.client5.http.impl.async;
 
-import java.io.IOException;
-import java.net.URI;
-
 import org.apache.hc.client5.http.CircularRedirectException;
 import org.apache.hc.client5.http.HttpRoute;
 import org.apache.hc.client5.http.RedirectException;
@@ -60,6 +57,9 @@ import org.apache.hc.core5.util.LangUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+import java.io.IOException;
+import java.net.URI;
+
 /**
  * Request execution handler in the asynchronous request execution chain
  * responsible for handling of request redirects.