src/java.net.http/share/classes/java/net/http/HttpResponse.java
branchhttp-client-branch
changeset 56141 c28d710b8ef9
parent 56139 b3d6203051df
child 56157 3f29747a858a
--- a/src/java.net.http/share/classes/java/net/http/HttpResponse.java	Fri Feb 16 16:23:54 2018 +0000
+++ b/src/java.net.http/share/classes/java/net/http/HttpResponse.java	Fri Feb 16 16:27:01 2018 +0000
@@ -448,7 +448,7 @@
          * reference to its {@link Path}.
          *
          * <p> Security manager permission checks are performed in this factory
-         * method, when a {@code BodyHandler} is created. Care must be taken
+         * method, when the {@code BodyHandler} is created. Care must be taken
          * that the {@code BodyHandler} is not shared with untrusted code.
          *
          * @param file the file to store the body in
@@ -483,7 +483,7 @@
          * <p> Equivalent to: {@code asFile(file, CREATE, WRITE)}
          *
          * <p> Security manager permission checks are performed in this factory
-         * method, when a {@code BodyHandler} is created. Care must be taken
+         * method, when the {@code BodyHandler} is created. Care must be taken
          * that the {@code BodyHandler} is not shared with untrusted code.
          *
          * @param file the file to store the body in
@@ -514,7 +514,7 @@
          * be written to, then the response will fail with an {@link IOException}.
          *
          * <p> Security manager permission checks are performed in this factory
-         * method, when a {@code BodyHandler} is created. Care must be taken
+         * method, when the {@code BodyHandler} is created. Care must be taken
          * that the {@code BodyHandler} is not shared with untrusted code.
          *
          * @param directory the directory to store the file in
@@ -962,7 +962,7 @@
          * the entire response has been read.
          *
          * <p> Security manager permission checks are performed in this factory
-         * method, when a {@code BodySubscriber} is created. Care must be taken
+         * method, when the {@code BodySubscriber} is created. Care must be taken
          * that the {@code BodyHandler} is not shared with untrusted code.
          *
          * @param file the file to store the body in
@@ -997,7 +997,7 @@
          * <p> Equivalent to: {@code asFile(file, CREATE, WRITE)}
          *
          * <p> Security manager permission checks are performed in this factory
-         * method, when a {@code BodySubscriber} is created. Care must be taken
+         * method, when the {@code BodySubscriber} is created. Care must be taken
          * that the {@code BodyHandler} is not shared with untrusted code.
          *
          * @param file the file to store the body in