View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.coding.finallocalvariable;
2   
3   public class InputFinalLocalVariableFalsePositive
4   {
5       public void method()
6       {
7           final java.util.List<Object> list = new java.util.ArrayList<>();
8   
9           for ( int i = 0, s0 = list.size(); i < s0; i++ )
10          {
11          }
12      }
13      
14      public void method1()
15      {
16          final java.util.List<Object> list = new java.util.ArrayList<>();
17  
18          for ( int i = 0, s0 = list.size(); i < s0; s0++ )
19          {
20          }
21      }
22  }