RFR: JDK-8371364 : Refactor javax/swing/JFileChooser/FileSizeCheck.java to use Util.findComponent() [v2]

Harshitha Onkar honkar at openjdk.org
Fri Nov 7 18:21:27 UTC 2025


On Thu, 6 Nov 2025 13:31:58 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Harshitha Onkar has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>> 
>>  - Merge branch 'master' into Util_FileSizeCheck
>>  - indentation
>>  - test update
>
> test/jdk/javax/swing/JFileChooser/FileSizeCheck.java line 240:
> 
>> 238:     private static JTable findTable(final Container container) {
>> 239:         Component result = Util.findComponent(container,
>> 240:                                          c -> c instanceof JTable);
> 
> Suggestion:
> 
>         Component result = Util.findComponent(container,
>                                               c -> c instanceof JTable);
> 
> Align the second parameter.

Updated. Please re-review.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28168#discussion_r2504893869


More information about the client-libs-dev mailing list