RFR: 8273616: Fix trivial doc typos in the java.base module
Florent Guillaume
github.com+592810+efge at openjdk.java.net
Fri Sep 10 22:55:43 UTC 2021
On Fri, 10 Sep 2021 21:51:45 GMT, John R Rose <jrose at openjdk.org> wrote:
>> 8273616: Fix trivial doc typos in the java.base module
>
> src/java.base/share/classes/java/nio/channels/AsynchronousFileChannel.java line 399:
>
>> 397: * If {@code true} then this method is required to force changes
>> 398: * to both the file's content and metadata to be written to
>> 399: * storage; otherwise, it needs only force content changes to be
>
> This is a correct though rare use of subjunctive mood: One need not change it.
> However, if be desired that we change the mood to indicative, I suggest s/it need only force/it only needs to force/.
(_it need only force_ is not really subjunctive mood, but rather usage as a modal auxiliary, see https://english.stackexchange.com/a/297235)
-------------
PR: https://git.openjdk.java.net/jdk/pull/5475
More information about the net-dev
mailing list