7a26f95fe4ec60625e46597e0ab3bcb82e397345
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method package calculateSimilarityMatrix(args String[], params String[]) : double[][] renamed to package calculateSimilarity(arg String, param String) : double in class com.google.errorprone.bugpatterns.ArgumentParameterSwap | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type args : String[] to arg : String in method package calculateSimilarity(arg String, param String) : double in class com.google.errorprone.bugpatterns.ArgumentParameterSwap | From | To | |
Change Parameter Type params : String[] to param : String in method package calculateSimilarity(arg String, param String) : double in class com.google.errorprone.bugpatterns.ArgumentParameterSwap | From | To | |
Change Return Type | 1 | ||
Change Return Type double[][] to double in method package calculateSimilarity(arg String, param String) : double in class com.google.errorprone.bugpatterns.ArgumentParameterSwap | From | To | |
Extract Variable | 1 | ||
Extract Variable paramName : String in method private findSwaps(args ExpressionTree[], params VarSymbol[], tree Tree, state VisitorState) : Description from class com.google.errorprone.bugpatterns.ArgumentParameterSwap | From | To | |
Extract Method | 1 | ||
Extract Method private getPossibleMatches(param VarSymbol, args ExpressionTree[], originalKind Kind, state VisitorState) : ExpressionTree[] extracted from private findSwaps(args ExpressionTree[], params VarSymbol[], tree Tree, state VisitorState) : Description in class com.google.errorprone.bugpatterns.ArgumentParameterSwap | From | To | |
Rename Parameter | 3 | ||
Rename Parameter top : String to topVal : String in method public doSomething(keepPath String[], dropPath String[], topVal String, bottom String) : String in class com.google.errorprone.bugpatterns.testdata.ArgumentParameterSwapPositiveCases | From | To | |
Rename Parameter params : String[] to param : String in method package calculateSimilarity(arg String, param String) : double in class com.google.errorprone.bugpatterns.ArgumentParameterSwap | From | To | |
Rename Parameter args : String[] to arg : String in method package calculateSimilarity(arg String, param String) : double in class com.google.errorprone.bugpatterns.ArgumentParameterSwap | From | To |