On Wed, 7 Apr 2021 21:01:48 GMT, Brian Burkhalter <[email protected]> wrote:
> The specification of the method `flush()` in the `java.io` classes
> `CharArrayWriter` and `StringWriter` is not explicit about the fact that the
> method has no effect. This request proposes to add to the specification of
> each flush() method the sentence
>
> The {@code flush} method of {@code <ClassName/>} does nothing.
>
> The corresponding CSR is JDK-8264867.
This pull request has now been integrated.
Changeset: e89fd151
Author: Brian Burkhalter <[email protected]>
URL: https://git.openjdk.java.net/jdk/commit/e89fd151
Stats: 6 lines in 2 files changed: 4 ins; 0 del; 2 mod
8261301: StringWriter.flush() is NOOP but documentation does not indicate it
Reviewed-by: naoto, rriggs
-------------
PR: https://git.openjdk.java.net/jdk/pull/3383