# HG changeset patch # User dfuchs # Date 1529500944 -3600 # Node ID 7d40b235de18405f6bf29640413d75e33f297702 # Parent e51f528c5fb8b28e7d6964d357e400899504aaba http-client-branch: review comment - fix some static imports diff -r e51f528c5fb8 -r 7d40b235de18 src/java.net.http/share/classes/jdk/internal/net/http/ExchangeImpl.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 diff -r e51f528c5fb8 -r 7d40b235de18 src/java.net.http/share/classes/jdk/internal/net/http/Http1Response.java --- 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).