RFR: 8271865: SortedList::getViewIndex behaves not correctly for some index values [v2]
drmarmac
duke at openjdk.org
Thu May 2 10:06:24 UTC 2024
On Mon, 29 Apr 2024 22:48:28 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> drmarmac has updated the pull request incrementally with one additional commit since the last revision:
>>
>> JavaDoc updates
>
> modules/javafx.base/src/main/java/javafx/collections/transformation/TransformationList.java line 134:
>
>> 132: * @param index the index of an element in this list
>> 133: * @return the index of the element's origin in the provided list
>> 134: * @throws IndexOutOfBoundsException if the index is out of range (index < 0 || index >= list.getSource().size())
>
> There is no`getSource` method in `ObservableList`. That should be `... index >= size())`
fixed
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1432#discussion_r1587375665
More information about the openjfx-dev
mailing list