JDK 13 RFR of JDK-8222817 : Refactor printing processor to use streams
Jonathan Gibbons
jonathan.gibbons at oracle.com
Mon Apr 22 22:22:05 UTC 2019
Looks good to me.
-- Jon
On 04/22/2019 02:57 PM, Joe Darcy wrote:
> On 4/22/2019 1:58 PM, Jonathan Gibbons wrote:
>> If you're going all-in modernizing the code, you can use method
>> references for ::toString in a couple of place.
>>
>> -- Jon
>
> Update as suggested:
>
> http://cr.openjdk.java.net/~darcy/8222817.1/
>
> Diff of patches:
>
> 22c22
> < + .map(m -> m.toString())
> ---
> > + .map(Modifier::toString)
> 63c63
> < + .map(annotationMirror -> annotationMirror.toString())
> ---
> > + .map(AnnotationMirror::toString)
> 86c86
> < + .map(interf -> interf.toString())
> ---
> > + .map(TypeMirror::toString)
>
> Thanks,
>
> -Joe
>
More information about the compiler-dev
mailing list