View Javadoc
1   package org.checkstyle.suppressionxpathfilter.lambdabodylength;
2   
3   import java.util.function.Function;
4   
5   public class InputXpathLambdaBodyLengthDefaultMax {
6       void test() {
7           Function<String, String> trimmer = (s) -> // warn
8               s.trim()
9                .trim()
10               .trim()
11               .trim()
12               .trim()
13               .trim()
14               .trim()
15               .trim()
16               .trim()
17               .trim()
18               .trim();
19      }
20  }