View Javadoc
1   /*
2   WhitespaceAfter
3   tokens = LITERAL_CASE
4   
5   
6   */
7   
8   package com.puppycrawl.tools.checkstyle.checks.whitespace.whitespaceafter;
9   
10  public class InputWhitespaceAfterLiteralCase {
11      public static void main(String... args) {
12          switch(args[0]) {
13              case "123": // OK
14                  return;
15              case"1": // violation ''case' is not followed by whitespace'
16                  return;
17              default:
18                  return;
19          }
20      }
21  }