http-client-branch: review comment - fix some static imports http-client-branch
authordfuchs
Wed, 20 Jun 2018 14:22:24 +0100
branchhttp-client-branch
changeset 56788 7d40b235de18
parent 56787 e51f528c5fb8
child 56789 c1cd2326e260
http-client-branch: review comment - fix some static imports
src/java.net.http/share/classes/jdk/internal/net/http/ExchangeImpl.java
src/java.net.http/share/classes/jdk/internal/net/http/Http1Response.java
--- a/src/java.net.http/share/classes/jdk/internal/net/http/ExchangeImpl.java	Wed Jun 20 13:04:57 2018 +0100
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/ExchangeImpl.java	Wed Jun 20 14:22:24 2018 +0100
@@ -32,8 +32,8 @@
 import java.net.http.HttpResponse;
 import jdk.internal.net.http.common.Logger;
 import jdk.internal.net.http.common.MinimalFuture;
+import jdk.internal.net.http.common.Utils;
 import static java.net.http.HttpClient.Version.HTTP_1_1;
-import jdk.internal.net.http.common.Utils;
 
 /**
  * Splits request so that headers and body can be sent separately with optional
--- a/src/java.net.http/share/classes/jdk/internal/net/http/Http1Response.java	Wed Jun 20 13:04:57 2018 +0100
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/Http1Response.java	Wed Jun 20 14:22:24 2018 +0100
@@ -47,7 +47,7 @@
 import static java.net.http.HttpClient.Version.HTTP_1_1;
 import static java.net.http.HttpResponse.BodySubscribers.discarding;
 import static jdk.internal.net.http.common.Utils.wrapWithExtraDetail;
-import static java.net.HttpURLConnection.HTTP_NOT_MODIFIED;
+import static jdk.internal.net.http.RedirectFilter.HTTP_NOT_MODIFIED;
 
 /**
  * Handles a HTTP/1.1 response (headers + body).