View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.whitespace.whitespacearound;
2   
3   import java.util.Properties;
4   
5   public class InputWhitespaceAroundDoubleBraceInitialization {
6       public InputWhitespaceAroundDoubleBraceInitialization() {
7           new Properties() {{
8               setProperty("double curly braces", "are not a style error");
9           }};
10          new Properties() {{
11              setProperty("double curly braces", "are not a style error");}};
12          new Properties() {{setProperty("double curly braces", "are not a style error");
13          }};
14          new Properties() {{setProperty("double curly braces", "are not a style error");}};
15          new Properties() {{
16              setProperty("double curly braces", "are not a style error");
17          }private int i;};
18      }
19  }