Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8047749: javadoc for getPathBounds() in TreeUI and BasicTreeUI is inc…
…orrect

Reviewed-by: aivanov
  • Loading branch information
prsadhuk committed Feb 11, 2022
1 parent 90939cb commit 4d64076
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -45,7 +45,7 @@ protected TreeUI() {}
/**
* Returns the Rectangle enclosing the label portion that the
* last item in path will be drawn into. Will return null if
* any component in path is currently valid.
* any component in path is currently invalid.
*
* @param tree the {@code JTree} for {@code path}
* @param path the {@code TreePath} identifying the node
Expand Down
Expand Up @@ -665,7 +665,7 @@ protected TreeSelectionModel getSelectionModel() {
/**
* Returns the Rectangle enclosing the label portion that the
* last item in path will be drawn into. Will return null if
* any component in path is currently valid.
* any component in path is currently invalid.
*/
public Rectangle getPathBounds(JTree tree, TreePath path) {
if(tree != null && treeState != null) {
Expand Down

1 comment on commit 4d64076

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.