changeset 54589:fffa4d0c0c14

8217795: Typo in SSLSocket Reviewed-by: xuelei Contributed-by: Jaikiran Pai <jai.forums2013@gmail.com>
author xuelei
date Fri, 25 Jan 2019 07:56:42 -0800
parents a692b606b4cd
children df92f60cf0b6
files src/java.base/share/classes/javax/net/ssl/SSLSocket.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/javax/net/ssl/SSLSocket.java	Fri Jan 25 14:10:28 2019 +0100
+++ b/src/java.base/share/classes/javax/net/ssl/SSLSocket.java	Fri Jan 25 07:56:42 2019 -0800
@@ -135,7 +135,7 @@
  * applications should each close both sides of their respective connection.
  * For {@code SSLSocket} objects, for example, an application can call
  * {@link Socket#shutdownOutput()} or {@link java.io.OutputStream#close()}
- * for output strean close and call {@link Socket#shutdownInput()} or
+ * for output stream close and call {@link Socket#shutdownInput()} or
  * {@link java.io.InputStream#close()} for input stream close.  Note that
  * in some cases, closing the input stream may depend on the peer's output
  * stream being closed first.  If the connection is not closed in an orderly