On Tue, 26 Jul 2022 21:49:21 GMT, Phil Race <[email protected]> wrote:

>> Prasanta Sadhukhan has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Fix
>
> src/java.desktop/share/classes/javax/swing/JSplitPane.java line 423:
> 
>> 421:      * @implNote Divider sizes < 1 are ignored.
>> 422:      *           {@code SplitPane.dividerSize} L&amp;F specific value
>> 423:      *           will instead be used.
> 
> This isn't the same as ignoring it. Suppose we do
> setDividerSize(5);
> setDividerSize(-1);
> 
> what is the value after both of these - per your ignoring code 5, but per 
> your doc it will be whatever the default was before you started to change it.
> 
> I think it sufficient to say it will be ignored and drop the 2nd clause.

Ok. Modified javadoc and CSR

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

PR: https://git.openjdk.org/jdk/pull/9566

Reply via email to