changeset 54147:8f91e1a7ebdc

8213912: Semantic typo in HttpExchange.java Reviewed-by: dfuchs
author chegar
date Fri, 15 Mar 2019 14:54:27 +0000
parents 81605c74b980
children 62e4ada7c4c8
files src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpExchange.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpExchange.java	Fri Mar 15 14:50:57 2019 +0000
+++ b/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpExchange.java	Fri Mar 15 14:54:27 2019 +0000
@@ -43,7 +43,7 @@
  * <ol><li>{@link #getRequestMethod()} to determine the command
  * <li>{@link #getRequestHeaders()} to examine the request headers (if needed)
  * <li>{@link #getRequestBody()} returns a {@link java.io.InputStream} for reading the request body.
- *     After reading the request body, the stream is close.
+ *     After reading the request body, the stream should be closed.
  * <li>{@link #getResponseHeaders()} to set any response headers, except content-length
  * <li>{@link #sendResponseHeaders(int,long)} to send the response headers. Must be called before
  * next step.