RFR: 8339852: Fix typos in java.compiler documentation

Joe Darcy darcy at openjdk.org
Tue Sep 10 16:58:04 UTC 2024


On Tue, 10 Sep 2024 16:40:01 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Please review this PR to fix typos and formatting issues. Some typos are trivial, others relate to domain vocabulary.
>
> src/java.compiler/share/classes/javax/annotation/processing/Processor.java line 198:
> 
>> 196:  *
>> 197:  * @apiNote Implementors of this interface may find it convenient
>> 198:  * to extend {@link AbstractProcessor} rather than implement this
> 
> The original grammar was correct: "rather than something" so "implementing" is correct as a noun. Or you can say "to implement".

I will admit a higher than average fondness for gerunds ;-)

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/20937#discussion_r1752323958


More information about the compiler-dev mailing list