Open andreoss opened 4 years ago
A inner class of length above 20 is considered a violation:
public Foo() { this(new Scalar<Bar>() { @Override public Bar value() throws Exception { // Lengthy method } } }); }
The same code but with lambda is considered okay
public Foo() { this(() -> { // Lengthy method } }); }
The feature request for checkstyle: https://github.com/checkstyle/checkstyle/issues/8341
@krzyk/z please, pay attention to this issue
A inner class of length above 20 is considered a violation:
The same code but with lambda is considered okay
The feature request for checkstyle: https://github.com/checkstyle/checkstyle/issues/8341