On Tue, 23 Apr 2024 20:30:22 GMT, ExE Boss <d...@openjdk.org> wrote:

>> Evemose has updated the pull request incrementally with three additional 
>> commits since the last revision:
>> 
>>  - Added Objects import to sun List
>>  - Replaced on-demand import in com.sun....List
>>  - added non-null assertions
>
> src/java.base/share/classes/java/util/ArrayList.java line 380:
> 
>> 378:     }
>> 379: 
>> 380:     int findLastIndexInRange(Predicate<? super E> filter, int start, 
>> int end) {
> 
> Suggestion:
> 
>     private int findLastIndexInRange(Predicate<? super E> filter, int start, 
> int end) {

Yeah i though about it but indexOfRange arent private here so either there is a 
point in it or its just legacy without any particular meaning

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18639#discussion_r1577501340

Reply via email to