ee84bccfe190e288447b417bc5e1a3cf94d7b218
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable dist : int to distance : int in method private searchVariableUsageExpressions(variableAst DetailAST, statementAst DetailAST) : Entry<List<DetailAST>,Integer> in class com.puppycrawl.tools.checkstyle.checks.coding.VariableDeclarationUsageDistanceCheck | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable currentScopeAst : DetailAST to statementAst : DetailAST in method private searchVariableUsageExpressions(variableAst DetailAST, statementAst DetailAST) : Entry<List<DetailAST>,Integer> in class com.puppycrawl.tools.checkstyle.checks.coding.VariableDeclarationUsageDistanceCheck | From | To | |
Extract Method | 1 | ||
Extract Method private searchVariableUsageExpressions(variableAst DetailAST, statementAst DetailAST) : Entry<List<DetailAST>,Integer> extracted from private calculateDistanceBetweenScopes(ast DetailAST, variable DetailAST) : Entry<DetailAST,Integer> in class com.puppycrawl.tools.checkstyle.checks.coding.VariableDeclarationUsageDistanceCheck | From | To |