RFR: 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main [v2]

Harshitha Onkar honkar at openjdk.org
Thu Mar 14 00:46:44 UTC 2024


On Wed, 13 Mar 2024 18:26:49 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> The same applies to the following event handler.
>
> What can help to reduce the indentation is introducing a helper method. If it's still too long, store the result of formatting into a local variable and then append it to `textArea`. This can be done even in lambdas.

@aivanov-jdk oh I might have missed the chaining order. Thanks for catching it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18250#discussion_r1524070649


More information about the client-libs-dev mailing list