RFR: JDK-8200380 String::lines

Paul Sandoz paul.sandoz at oracle.com
Fri May 18 17:58:16 UTC 2018



> On May 18, 2018, at 10:57 AM, Jim Laskey <james.laskey at oracle.com> wrote:
> 
> Guilty of just cloning the CharacterSpliterator.
> 

:-) I have done my fair share of spliterator cloning.


> Sundar recommended "full on" private final. How about just having the characteristics constant in the characteristics() method and dropping the cs args and fields altogether? 
> 

Doh! yes, that’s even better.

Paul.


More information about the core-libs-dev mailing list