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 InputFallThroughInlineSingleCase{
11    void method(int a) {
12      switch (a) {case 1:;}
13      // violation above 'Fall\ through from the last branch of the switch statement.'
14    }
15  }