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

2022-02-14 Thread Philip Race
CSR reviewed. -phil On 2/13/22 8:40 PM, Prasanta Sadhukhan wrote: On Thu, 10 Feb 2022 08:11:04 GMT, Prasanta Sadhukhan wrote: The javadoc descriptions for javax.swing.plaf.TreeUI.getPathBounds() and javax.swing.plaf.basic.BasicTreeUI.getPathBounds() have stated it returns null if any comp

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

2022-02-13 Thread Prasanta Sadhukhan
On Thu, 10 Feb 2022 08:11:04 GMT, Prasanta Sadhukhan 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 getPath

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

2022-02-10 Thread Alexey Ivanov
On Thu, 10 Feb 2022 08:11:04 GMT, Prasanta Sadhukhan 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 getPath

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

2022-02-10 Thread Prasanta Sadhukhan
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. Fix