-
Bug
-
Resolution: Fixed
-
P4
-
1.3.0
-
beta
-
x86
-
windows_nt
Name: ssT124754 Date: 01/31/2001
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
I found this method body in JTree, the doubled call to getPathForRow seems to
be useless?
/**
* Returns the <code>Rectangle</code> that the node at the specified row is
* drawn in.
*
* @param row the row to be drawn, where 0 is the first row in the
* display
* @return the <code>Rectangle</code> the node is drawn in
*/
public Rectangle getRowBounds(int row) {
TreePath path = getPathForRow(row);
return getPathBounds(getPathForRow(row));
}
(Review ID: 115846)
======================================================================