<Swing Dev> [14] RFR JDK-7020860 - BasicTreeUI contains getters/setters with unclear spec
Tejpal Rebari
tejpal.rebari at oracle.com
Thu Oct 31 08:24:51 UTC 2019
Hi All,
Please review the following fix for JDK 14.
Bug : https://bugs.openjdk.java.net/browse/JDK-7020860 <https://bugs.openjdk.java.net/browse/JDK-7020860>
Webrev : http://cr.openjdk.java.net/~trebari/swing/7020860/webrev0/ <http://cr.openjdk.java.net/~trebari/swing/7020860/webrev0/>
Issue : Class javax.swing.plaf.basic.BasicTreeUI contains some getters/setters that are not consistent and
and have specification that says nothing about how they should be used and how do they behave in BasicTreeUI.
Fix : This bug was already sent for review by semyon http://cr.openjdk.java.net/~ssadetsky/7020860/webrev.00/ <http://cr.openjdk.java.net/~ssadetsky/7020860/webrev.00/>.
I have made the following changes to the above webrev :
* @param newValue the new value of the {@code editable}> property
changed to —>>
* @param newValue the new value of the {@code editable} property
And
* Returns whether the root node of the drawn tree component is displayable.
changed to —>>
* Returns whether the root node of the drawn tree component should be displayed.
Regards
Tejpal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20191031/8ad6a47b/attachment.html>
More information about the swing-dev
mailing list