Re: [Geotools-devel] New check to avoid too deply nested/indented code

2021-12-29 Thread Jody Garnett
Thanks Andrea, I have also found some of the closures getting deeply nested. Jody On Wed, Dec 29, 2021 at 6:06 AM Andrea Aime wrote: > Hi all, > I'd like to introduce a Checkstyle check that verifies lines are not too > deeply nested. > The Google format we are using is indenting excessively lo

[Geotools-devel] New check to avoid too deply nested/indented code

2021-12-29 Thread Andrea Aime
Hi all, I'd like to introduce a Checkstyle check that verifies lines are not too deeply nested. The Google format we are using is indenting excessively long lines that are overflowing on the next line 8 chars instead of 4, I believe as a way to discourage too deep nesting. However, we have a lot o