View Javadoc
1   /*
2   SeparatorWrap
3   option = (default)EOL
4   tokens = ARRAY_DECLARATOR
5   
6   
7   */
8   
9   package com.puppycrawl.tools.checkstyle.checks.whitespace.separatorwrap;
10  
11  class InputSeparatorWrapForArrayDeclarator {
12  
13      protected int[] arrayDeclarationWithGoodWrapping = new int[
14              ] {1, 2};
15  
16      protected int[] arrayDeclarationWithBadWrapping = new int
17              [] {1, 2}; // violation ''\[' should be on the previous line'
18  }
19