On Tue, 8 Dec 2020 10:41:06 GMT, Julia Boes <jb...@openjdk.org> wrote:

>> src/java.base/share/classes/java/lang/Enum.java line 62:
>> 
>>> 60:  * java.util.EnumMap map} implementations are available.
>>> 61:  *
>>> 62:  * @param <E> The enum class subclass
>> 
>> I wonder about this one, given that `<E>` is a type. It sounds strange to me 
>> - even though I understand that what is meant is that this type should point 
>> to a class (a subclass of `java.lang.Enum`).
>
> Makes sense. I suggest the following instead: `The type of enum subclass`.

Maybe: "`The type of the enum subclass.`" would sound better - or just "`The 
enum subclass`".

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

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

Reply via email to