RFR: 8047749: javadoc for getPathBounds() in TreeUI and BasicTreeUI is incorrect
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Thu Feb 10 08:17:29 UTC 2022
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.
-------------
Commit messages:
- 8047749: javadoc for getPathBounds() in TreeUI and BasicTreeUI is incorrect
Changes: https://git.openjdk.java.net/jdk/pull/7421/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7421&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8047749
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/7421.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/7421/head:pull/7421
PR: https://git.openjdk.java.net/jdk/pull/7421
More information about the client-libs-dev
mailing list