View Javadoc
1   ////////////////////////////////////////////////////////////////////////////////
2   // Test case file for checkstyle.
3   // Created: 2015
4   ////////////////////////////////////////////////////////////////////////////////
5   package com.puppycrawl.tools.checkstyle.checks.blocks.rightcurly;
6   
7   /**
8    * Test case for RightCurly with option SAME to omit oneliners
9    * @see https://github.com/checkstyle/checkstyle/issues/1416
10   * @author <a href="mailto:piotr.listkiewicz@gmail.com">liscju</a>
11   */
12  public class InputRightCurlyNameForOneLiners {
13      public static void main(String[] args) {
14          boolean after = false;
15          try {
16          } finally { after = true; }
17      }
18  }