Integrated: 8047749: javadoc for getPathBounds() in TreeUI and BasicTreeUI is incorrect

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Fri Feb 11 09:43:11 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.

This pull request has now been integrated.

Changeset: 4d640760
Author:    Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/4d64076058a4ec5df101b06572195ed5fdee6f64
Stats:     2 lines in 2 files changed: 0 ins; 0 del; 2 mod

8047749: javadoc for getPathBounds() in TreeUI and BasicTreeUI is incorrect

Reviewed-by: aivanov

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

PR: https://git.openjdk.java.net/jdk/pull/7421



More information about the client-libs-dev mailing list