Re: JDK 9 RFR Update String.join sample code to use List convenience factory methods

2016-05-31 Thread Stuart Marks
On 5/31/16 6:31 PM, Joseph D. Darcy wrote: The String.join javadoc contains some sample code to demonstrate how to use the method. The sample code can be improved with the new-in-JDK-9 List convenience factory method. Please review this patch to update the sample code: --- a/src/java.base/share/

Re: JDK 9 RFR Update String.join sample code to use List convenience factory methods

2016-05-31 Thread Lance Andersen
looks fine joe > On May 31, 2016, at 9:31 PM, Joseph D. Darcy wrote: > > Hello, > > The String.join javadoc contains some sample code to demonstrate how to use > the method. The sample code can be improved with the new-in-JDK-9 List > convenience factory method. Please review this patch to upd

JDK 9 RFR Update String.join sample code to use List convenience factory methods

2016-05-31 Thread Joseph D. Darcy
Hello, The String.join javadoc contains some sample code to demonstrate how to use the method. The sample code can be improved with the new-in-JDK-9 List convenience factory method. Please review this patch to update the sample code: --- a/src/java.base/share/classes/java/lang/String.java