On Thu, 1 Sep 2022 22:10:54 GMT, Mark Powers <mpow...@openjdk.org> wrote:

>> Brad pointed me to this:
>> https://www.oracle.com/technetwork/java/codeconventions-150003.pdf
>> 
>> I think your reference is better since we're working on OpenJDK.
>
> Regarding your `return switch (res)...` comment:
> You're suggesting to eliminate `resultString` and `return` after each `case`?

Never mind. I see what you're suggesting.

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

PR: https://git.openjdk.org/jdk/pull/9972

Reply via email to