View Javadoc
1   package com.google.checkstyle.test.chapter4formatting.rule412nonemptyblocks;
2   
3   /** some javadoc. */
4   public class InputRightCurly {
5     /** some javadoc. */
6     public static void main(String[] args) {
7       boolean after = false;
8       try {
9         /* foo */
10      } finally { after = true; }
11      // 2 violations above
12      //  ''{' at column 15 should have line break after.'
13      //  ''}' at column 30 should be alone on a line.'
14    }
15  }