RFR: 8339852: Fix typos in java.compiler documentation

Pavel Rappo prappo at openjdk.org
Tue Sep 10 17:52:06 UTC 2024


On Tue, 10 Sep 2024 16:54:57 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> 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 ;-)

> The original grammar was correct: "rather than something" so "implementing" is correct as a noun. Or you can say "to implement".

To me, I read it like this: "to extend rather than implement". But if Joe thinks like you do, I will revert this.

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

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


More information about the compiler-dev mailing list