diff --git a/src/xdocs/config.xml b/src/xdocs/config.xml index 6fb9f0784..ba016ca68 100644 --- a/src/xdocs/config.xml +++ b/src/xdocs/config.xml @@ -1005,9 +1005,9 @@ private static void foo(int a, int b) // UNUSED OFF: b System.out.println(a); } -private static void foo1(int a, int b) // UNUSED ON: a +private static void foo1(int a, int b) // UNUSED ON: b { - System.out.println(b); + System.out.println(a); } @@ -1032,8 +1032,8 @@ public static final int lowerCaseConstant1; // CSON: ConstantNameCheck

To configure a filter to suppress all audit events between a comment - containing CHECKSTYLE_OFF: ALL and a comment containing - CHECKSTYLE_OFF: ALL except for the EqualsHashCode check: + containing CHECKSTYLE_OFF: ALMOST_ALL and a comment containing + CHECKSTYLE_OFF: ALMOST_ALL except for the EqualsHashCode check:

@@ -1045,9 +1045,9 @@ public static final int lowerCaseConstant1; // CSON: ConstantNameCheck -public static final int array []; // CHECKSTYLE_OFF: ALL +public static final int array []; // CHECKSTYLE_OFF: ALMOST_ALL private String [] strArray; -private int array1 []; // CHECKSTYLE_ON: ALL +private int array1 []; // CHECKSTYLE_ON: ALMOST_ALL @@ -1287,7 +1287,7 @@ public static final int [] array; // @cs.suppress ConstantName | NoWhitespaceAft <module name="TreeWalker"> ... -<module name="SuppressWarningsHolder" /> + <module name="SuppressWarningsHolder" /> ... </module>