rusya7/sevntu.checkstyle — Issue #1: Bug in VariableDeclarationUsageDistanceCheck
Author: rusya7
Created: 2011-10-08 08:45:45+00:00
State: open

Steps will reproduce the problem:
1. Activate option 'validateBetweenScopes'
2. Check such code:

int filterCount = 0;
for (int i = 0; i < filterList.size(); i++, filterCount++) {
// some code
}

Detected:
Mistake warning is appeared in 'int filterCount = 0' line with wrong distance.

Excepted:
No any warning messages. Distance = 1.