On Tue, 22 Feb 2022 22:44:39 GMT, Emmanuel Bourg <d...@openjdk.java.net> wrote:

>> Here, on GitHub the lines in the suggestion could be wrapped, the idea is 
>> that the dots `.` of the following method calls remain aligned.
>
> Looks like excessive wrapping to me for a very simple and quite readable 
> one-liner.

I don't think so: It makes the code easier to parse. Such formatting is very 
common with streams because each operation on the streams stands out, the 
person reading the code doesn't have to parse the long line in their mind.

I'm fine with it if everyone else agrees the code is too simple to require 
wrapping.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6180

Reply via email to