changeset 17115:e96547bd31cc

8179662: OutputStreamWriter javadocs states that you can set the buffer size but there is no way to do that Summary: Change specification verbiage to match longstanding behavior Reviewed-by: briangoetz, chegar, lancea, rriggs
author bpb
date Tue, 09 May 2017 07:40:20 -0700
parents b8207b069bc2
children 177436a54ca1
files src/java.base/share/classes/java/io/OutputStreamWriter.java
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/io/OutputStreamWriter.java	Tue May 09 13:19:27 2017 +0200
+++ b/src/java.base/share/classes/java/io/OutputStreamWriter.java	Tue May 09 07:40:20 2017 -0700
@@ -40,10 +40,8 @@
  *
  * <p> Each invocation of a write() method causes the encoding converter to be
  * invoked on the given character(s).  The resulting bytes are accumulated in a
- * buffer before being written to the underlying output stream.  The size of
- * this buffer may be specified, but by default it is large enough for most
- * purposes.  Note that the characters passed to the write() methods are not
- * buffered.
+ * buffer before being written to the underlying output stream.  Note that the
+ * characters passed to the write() methods are not buffered.
  *
  * <p> For top efficiency, consider wrapping an OutputStreamWriter within a
  * BufferedWriter so as to avoid frequent converter invocations.  For example: