8179662: OutputStreamWriter javadocs states that you can set the buffer size but there is no way to do that
authorbpb
Tue, 09 May 2017 07:40:20 -0700
changeset 45030 e89631bcf030
parent 45029 8a8e17cde86f
child 45031 cd369ee4d4bc
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
jdk/src/java.base/share/classes/java/io/OutputStreamWriter.java
--- a/jdk/src/java.base/share/classes/java/io/OutputStreamWriter.java	Tue May 09 13:19:27 2017 +0200
+++ b/jdk/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: