Hello Mikhail, good catch. I adjusted the code.
Webrev: http://cr.openjdk.java.net/~rstevens/8160941/webrev.01 Robin On Mon, Jul 11, 2016 at 6:08 PM, Mikhail Cherkasov < [email protected]> wrote: > On 11.07.2016 18:55, Robin Stevens wrote: > >> However, that would cause an inconsistency with other operating systems. >> > ok, but then let's simplify it: > > remove this line: > sb.append(strings[0]); > > and start cycle from 0: > for(int i = 0; i < strings.length; i++) { > sb.append(strings[i]); > sb.append(separator); > } > >
