RFR: 8257638: Update usage of "type" terminology in javax.lang.model

Jonathan Gibbons jjg at openjdk.java.net
Thu Dec 10 01:21:58 UTC 2020


On Thu, 10 Dec 2020 01:13:20 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> src/java.compiler/share/classes/javax/annotation/processing/Processor.java line 121:
>> 
>>> 119: 
>>> 120:  * For this purpose, a package element is <em>not</em> considered to
>>> 121:  * enclose the top-level classes and interfaces within that package. (A root element
>> 
>> `enclose` would be better as `encloses`
>
> "Package element" is singular so "enclose" is proper, right?

Ooops, mea culpa; sorry

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

PR: https://git.openjdk.java.net/jdk/pull/1726


More information about the compiler-dev mailing list