RefDiff
RefDiff copied to clipboard
Is it missing the Rename Method refactoring?
Summary
In the source code present in osmarleandro/RefactoringMiner@cf32531 commit, I applied a single Rename Method refactoring to getRegex() method in the RefactoringType class. RefDiff yields an empty list of refactoring. Is it missing this true instance of Rename Method refactoring?
Code example
Diff fragment between the commit osmarleandro/RefactoringMiner@cf32531 and their parent.
@@ -121,7 +121,7 @@ public enum RefactoringType {
this.aggregateGroups = aggregateGroups;
}
- public Pattern getRegex() {
+ public Pattern getRegex_RENAMED() {
return regex;
}
Environment details
RefDiff 2.0
Steps to reproduce
- Run RefDiff and pass as input the commit osmarleandro/RefactoringMiner@cf32531.
Expected results
A single instance of the Rename Method refactoring applied to getRegex() method in the RefactoringType class.