View Javadoc
1   /*
2   VariableDeclarationUsageDistance
3   allowedDistance = (default)3
4   ignoreVariablePattern = (default)
5   validateBetweenScopes = (default)false
6   ignoreFinal = (default)true
7   
8   
9   */
10  
11  package com.puppycrawl.tools.checkstyle.checks.coding.variabledeclarationusagedistance;
12  
13  public class InputVariableDeclarationUsageDistanceDefault2 {
14  
15      void method() {
16          int VARIABLE_DEF = 12;
17          method();
18          method();
19          method();
20          method();
21          for (int i=0; i< 123; i++);
22      }
23  }