On Thu, 11 Mar 2021 00:12:25 GMT, Nir Lisker <nlis...@openjdk.org> wrote:

>> Ambarish Rapte has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   correct Float.valueOf()
>
> modules/javafx.base/src/test/java/test/com/sun/javafx/collections/MappingChangeTest.java
>  line 52:
> 
>> 50:     @Test
>> 51:     public void testAddRemove() {
>> 52:         Change<Integer> change = new 
>> NonIterableChange.SimpleRemovedChange<Integer>(0, 1, Integer.valueOf(5), 
>> originalList);
> 
> Autobox?

First two parameters are primitive type integer and the third parameter is 
template type.
Changing it to autobox would make it less readable.

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

PR: https://git.openjdk.java.net/jfx/pull/423

Reply via email to