On Mon, 16 Mar 2026 08:42:10 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

> Many classes have no space between operator and operand which needs to be 
> rectified

I've made a few specific comments.
In general, I'd prefer to see cleans ups like this addressed as TOOs during 
other fixes.

src/java.desktop/share/classes/javax/swing/plaf/nimbus/SynthPainterImpl.java 
line 66:

> 64:             if (g instanceof Graphics2D){
> 65:                 Graphics2D gfx = (Graphics2D)g;
> 66:                 if (transform != null){

"){"  -> ") {" both here and line 72 and 88 ...

src/java.desktop/share/classes/javax/swing/plaf/synth/SynthComboBoxUI.java line 
817:

> 815:             ComboBoxEditor newEditor = comboBox.getEditor();
> 816:             if (editor != newEditor){
> 817:                 if (editorComponent != null){

"){"  -> ")

src/java.desktop/share/classes/javax/swing/plaf/synth/SynthScrollPaneUI.java 
line 228:

> 226:     private int getComponentState(JComponent c) {
> 227:         int baseState = SynthLookAndFeel.getComponentState(c);
> 228:         if (viewportViewFocusHandler != null && viewportViewHasFocus){

"){" -> ")

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

PR Review: https://git.openjdk.org/jdk/pull/30257#pullrequestreview-3956388378
PR Review Comment: https://git.openjdk.org/jdk/pull/30257#discussion_r2942711201
PR Review Comment: https://git.openjdk.org/jdk/pull/30257#discussion_r2942716143
PR Review Comment: https://git.openjdk.org/jdk/pull/30257#discussion_r2942717097

Reply via email to