RFR: 8047749: javadoc for getPathBounds() in TreeUI and BasicTreeUI is incorrect
Alexey Ivanov
aivanov at openjdk.java.net
Thu Feb 10 14:06:03 UTC 2022
On Thu, 10 Feb 2022 08:11:04 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> The javadoc descriptions for javax.swing.plaf.TreeUI.getPathBounds() and javax.swing.plaf.basic.BasicTreeUI.getPathBounds() have stated it returns null if any component in path is currently "valid", which is wrong.
> The getPathBounds() in BasicTreeUI returns null if tree or treeState is null.
> Fixed the javadoc.
Marked as reviewed by aivanov (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/7421
More information about the client-libs-dev
mailing list