View Javadoc
1   /*
2   RightCurly
3   option = (default)SAME
4   tokens = (default)LITERAL_TRY, LITERAL_CATCH, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE
5   
6   
7   */
8   
9   package com.puppycrawl.tools.checkstyle.checks.blocks.rightcurly;
10  
11  /*
12   * @see https://github.com/checkstyle/checkstyle/issues/1416
13   * @author <a href="mailto:piotr.listkiewicz@gmail.com">liscju</a>
14   */
15  public class InputRightCurlyTestSameOmitOneLiners {
16      public static void main(String[] args) {
17          boolean after = false;
18          try {
19          } finally { after = true; }
20      }
21  }