f36d518c5fcb0ba90b95d8790aa2543a9ca5cda6
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public removeAll(b List<Integer>) : boolean renamed to public containsAll(b List<Integer>) : void in class com.google.errorprone.bugpatterns.testdata.ModifyingCollectionWithItselfPositiveCases | From | To | |
Rename Method public containsAll() : boolean renamed to public removeAll() : void in class com.google.errorprone.bugpatterns.testdata.ModifyingCollectionWithItselfPositiveCases | From | To | |
Rename Variable | 2 | ||
Rename Variable lhs : ExpressionTree to receiver : ExpressionTree in method private describe(methodInvocationTree MethodInvocationTree, state VisitorState) : Description in class com.google.errorprone.bugpatterns.ModifyingCollectionWithItself | From | To | |
Rename Variable rhs : ExpressionTree to arguments : List<? extends ExpressionTree> in method private describe(methodInvocationTree MethodInvocationTree, state VisitorState) : Description in class com.google.errorprone.bugpatterns.ModifyingCollectionWithItself | From | To | |
Change Return Type | 4 | ||
Change Return Type boolean to void in method public retainAll(a List<Integer>) : void in class com.google.errorprone.bugpatterns.testdata.ModifyingCollectionWithItselfPositiveCases | From | To | |
Change Return Type boolean to void in method public addAll(b List<Integer>) : void in class com.google.errorprone.bugpatterns.testdata.ModifyingCollectionWithItselfPositiveCases | From | To | |
Change Return Type boolean to void in method public containsAll(b List<Integer>) : void in class com.google.errorprone.bugpatterns.testdata.ModifyingCollectionWithItselfPositiveCases | From | To | |
Change Return Type boolean to void in method public removeAll() : void in class com.google.errorprone.bugpatterns.testdata.ModifyingCollectionWithItselfPositiveCases | From | To | |
Change Variable Type | 1 | ||
Change Variable Type rhs : ExpressionTree to arguments : List<? extends ExpressionTree> in method private describe(methodInvocationTree MethodInvocationTree, state VisitorState) : Description in class com.google.errorprone.bugpatterns.ModifyingCollectionWithItself | From | To | |
Extract Method | 1 | ||
Extract Method private literalReplacement(methodInvocationTree MethodInvocationTree, state VisitorState, lhs ExpressionTree) : List<Fix> extracted from public describe(methodInvocationTree MethodInvocationTree, state VisitorState) : Description in class com.google.errorprone.bugpatterns.ModifyingCollectionWithItself | From | To |