RFR: JDK-8291509 Minor cleanup could be done in sun.security [v4]
Mark Powers
mpowers at openjdk.org
Thu Sep 1 22:24:10 UTC 2022
On Thu, 1 Sep 2022 22:10:54 GMT, Mark Powers <mpowers at 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
More information about the security-dev
mailing list