Integrated: 8261301: StringWriter.flush() is NOOP but documentation does not indicate it
Brian Burkhalter
bpb at openjdk.java.net
Thu Apr 15 20:22:36 UTC 2021
On Wed, 7 Apr 2021 21:01:48 GMT, Brian Burkhalter <bpb at openjdk.org> 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 <bpb at openjdk.org>
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
More information about the core-libs-dev
mailing list