RFR: 8276849: Refresh the window icon on graphics configuration changes [v3]

Alexey Ivanov aivanov at openjdk.java.net
Wed Feb 23 16:57:00 UTC 2022


On Tue, 22 Feb 2022 22:44:39 GMT, Emmanuel Bourg <duke at 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



More information about the client-libs-dev mailing list