On Thu, 5 May 2022 10:38:43 GMT, Pavel Rappo <pra...@openjdk.org> wrote:

>> src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/ElementsTable.java 
>> line 1206:
>> 
>>> 1204:             AccessKind accessValue = null;
>>> 1205:             for (ElementKind kind : ALLOWED_KINDS) {
>>> 1206:                 accessValue = switch (kind) {
>> 
>> It feels awkward when adjacent `switch` statements use different formatting.
>
> Correction: `switch` _expressions_ in this case.

will examine; I was (generally) trying not to override IDE formatting.

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

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

Reply via email to