On Mon, 21 Sep 2026 07:47:38 GMT, Matthias Baesken <[email protected]> wrote:

> WindowsLookAndFeel isClassicWindows can be removed after 
> [JDK-8390526](https://bugs.openjdk.org/browse/JDK-8390526), this has been 
> found in the PR review [1].
> 
> [1] https://github.com/openjdk/jdk/pull/32419#discussion_r3993230609
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Marked as reviewed by aivanov (Reviewer).

src/java.desktop/windows/classes/com/sun/java/swing/plaf/windows/WindowsMenuUI.java
 line 258:

> 256:         }
> 257: 
> 258:         if ((model.isSelected() && (!menu.isTopLevelMenu())) ||

Suggestion:

        if ((model.isSelected() && !menu.isTopLevelMenu()) ||

Get rid of the redundant parentheses?

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

PR Review: https://git.openjdk.org/jdk/pull/32976#pullrequestreview-5282653532
PR Review Comment: https://git.openjdk.org/jdk/pull/32976#discussion_r4075530244

Reply via email to