Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it missing the Rename Method refactoring? #18

Open
osmarleandro opened this issue Jan 27, 2021 · 0 comments
Open

Is it missing the Rename Method refactoring? #18

osmarleandro opened this issue Jan 27, 2021 · 0 comments

Comments

@osmarleandro
Copy link

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

  1. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant