On Tue, 15 Apr 2025 10:03:42 GMT, Tejesh R <[email protected]> wrote:
> Open source these AWT TextComponent tests:
>
> java/awt/TextComponent/BackgroundTest/BackgroundTest.java
> java/awt/TextComponent/DisableTest/DisableTest.java
> java/awt/TextComponent/TextFieldMargin/TextFieldMargin.java
> java/awt/TextComponent/ModifiersTest/ModifiersTest.java
test/jdk/java/awt/TextComponent/DisableTest.java line 88:
> 86: ActionListener al = ev -> {
> 87: boolean enable = (ev.getSource() == be);
> 88: Iterator iterator = comps.iterator();
> while(iterator.hasNext()) {
Let's move `while (iterator.hasNext()) {` to a separate line
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24656#discussion_r2046355717