For example, given the diff result of two java file /b_OrganizeImportsOperation.java and f_OrganizeImportsOperation.java.
32d31
< import org.eclipse.core.resources.ResourcesPlugin;
557c556
< return ResourcesPlugin.getWorkspace().getRoot();
---
> return fCompilationUnit.getResource();
What the pattern of this bug? That is, mcRepl(Method call replacement) and retExpChange (Return expression modification) , which one is better?
Thanks!
For example, given the diff result of two java file /b_OrganizeImportsOperation.java and f_OrganizeImportsOperation.java.
What the pattern of this bug? That is, mcRepl(Method call replacement) and retExpChange (Return expression modification) , which one is better?
Thanks!