http-client-branch: review comment asFileImpl sneaked into the API http-client-branch
authorchegar
Fri, 17 Nov 2017 18:38:05 +0000
branchhttp-client-branch
changeset 55837 0262f29eef0d
parent 55836 0e9392a4dc6d
child 55838 12a64276cc96
http-client-branch: review comment asFileImpl sneaked into the API
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<Path> asFileImpl(Path file, OpenOption... openOptions) {
+        private static BodySubscriber<Path> asFileImpl(Path file, OpenOption... openOptions) {
             return new ResponseSubscribers.PathSubscriber(file, openOptions);
         }