On Fri, 15 Sep 2023 23:12:32 GMT, Harshitha Onkar <[email protected]> wrote:

>> Damon Nguyen has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Review comments changes
>
> test/jdk/javax/swing/JTree/bug4213868.java line 44:
> 
>> 42:         JTree tree = new JTree(root);
>> 43:         for (int i = 1; i < 10; i++) {
>> 44:             root.add(new DefaultMutableTreeNode(Integer.valueOf(i)));
> 
> Suggestion:
> 
>                 new DefaultMutableTreeNode(0, true);
>         JTree tree = new JTree(root);
>         for (int i = 1; i < 10; i++) {
>             root.add(new DefaultMutableTreeNode(i));

Changed to normal int. Thanks!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15756#discussion_r1329163553

Reply via email to