On Fri, 21 Apr 2023 18:23:17 GMT, Alexey Ivanov <[email protected]> wrote:

>> OK, I'll fix. I've seen examples of both styles in the JDK so am never 
>> really sure.
>
> In client libs, we tend to use the braces all the time.
> 
> By this comment, I meant adding braces to all the statements where you 
> omitted them, including the test.
> 
> If you look through `MethodInfo.java` class, you see that braces are used 
> consistently even if the body has only one statement.

Fixed in ac90a10e238.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13544#discussion_r1174133590

Reply via email to