# HG changeset patch # User chegar # Date 1510943885 0 # Node ID 0262f29eef0d52b14477baf76775db4b7b135655 # Parent 0e9392a4dc6d25b65edc4e21897d2507b64881e2 http-client-branch: review comment asFileImpl sneaked into the API diff -r 0e9392a4dc6d -r 0262f29eef0d src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java --- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java Fri Nov 17 17:46:30 2017 +0000 +++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java Fri Nov 17 18:38:05 2017 +0000 @@ -605,7 +605,7 @@ } // no security check - static BodySubscriber asFileImpl(Path file, OpenOption... openOptions) { + private static BodySubscriber asFileImpl(Path file, OpenOption... openOptions) { return new ResponseSubscribers.PathSubscriber(file, openOptions); }