hg: lambda/lambda/jdk: reorder Reducer type variables to match invocation order. remove ? super from reducer base value in APIs.

David Holmes David.Holmes at oracle.com
Thu Sep 15 16:12:37 PDT 2011


I may be mis-reading this but didn't you (Remi) ask for parameters of the 
method to be swapped not the type parameters of the interface? Now they may 
be consistent but the order seems wrong to me.

David

On 16/09/2011 4:55 AM, Rémi Forax wrote:
> On 09/15/2011 08:46 PM, mike.duigou at oracle.com wrote:
>> Changeset: 17c44251d64b
>> Author:    mduigou
>> Date:      2011-09-15 11:43 -0700
>> URL:       http://hg.openjdk.java.net/lambda/lambda/jdk/rev/17c44251d64b
>>
>> reorder Reducer type variables to match invocation order. remove ? super from reducer base value in APIs.
>>
>> ! src/share/classes/java/lang/Iterable.java
>> ! src/share/classes/java/lang/Iterables.java
>> ! src/share/classes/java/util/Iterators.java
>> ! src/share/classes/java/util/functions/Reducer.java
>> ! src/share/classes/java/util/functions/Reducers.java
>> ! test/java/util/functions/Reducer/ReducersTest.java
>>
>>
>
> thanks Mike.
>
> Rémi
>
>


More information about the lambda-dev mailing list