View Javadoc
1   /*
2   RequireThis
3   checkFields = (default)true
4   checkMethods = (default)true
5   validateOnlyOverlapping = false
6   
7   
8   */
9   
10  package com.puppycrawl.tools.checkstyle.checks.coding.requirethis;
11  
12  public final class InputRequireThisBraceAlone {
13      protected void test() throws Exception {
14          {
15              boolean var1 = false;
16  
17              var1 = true;
18          }
19  
20          {
21              boolean var2 = false;
22  
23              var2 = true;
24          }
25      }
26  }