On Tue, 2 Apr 2024 17:11:04 GMT, Alexey Ivanov <[email protected]> wrote:
>> Harshitha Onkar has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> RuntimeException thrown
>
> test/jdk/java/awt/Frame/MinimizeUndecoratedTest.java line 98:
>
>> 96: } else {
>> 97: throw new RuntimeException("Window iconified event not
>> received.");
>> 98: }
>
> I'd invert the condition of the `if (!isMinimized())`, then everything inside
> the body of the `if`-block can be unindented.
Agreed. Updated.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18523#discussion_r1548327779