On Thu, 9 Dec 2021 01:25:20 GMT, Bradford Wetmore <wetm...@openjdk.org> wrote:
>> That's one of the places where I personally would always use the var keyword >> too: it makes the line shorter and the type is already clearly visible in >> the RHS of the assignment, so repeating it on the left hand side does not >> bring much value... > > Just interesting that the style wasn't consistent. Both ways are fine by me. I used `var` only in places, where it allows to reduce line length to be less than 80. ------------- PR: https://git.openjdk.java.net/jdk/pull/5818