View Javadoc
1   /*
2   FallThrough
3   checkLastCaseGroup = true
4   reliefPattern = (default)falls?[ -]?thr(u|ough)
5   
6   
7   */
8   package com.puppycrawl.tools.checkstyle.checks.coding.fallthrough;
9   
10  public class InputFallThroughMultipleReliefPatterns {
11  
12    void method(int i) {
13      while (true) {
14        switch (i) {
15          case 5: {
16            i++;
17          }
18          /* block */ /* fallthru */ // comment
19          case 6:
20            i++;
21            /* block */ /* fallthru */ // comment
22  
23        }
24      }
25    }
26  }