Extract Method protected renameModels(oldName String, newName String) : void extracted from public rename(newName String) : void in class jetbrains.mps.project.AbstractModule
Problem description
Within the bodyMapper of the aforementioned refactoring, there is one statement in the nonMappedInnerNodesT1 and one in the nonMappedInnerNodesT2, which have to be mapped together. The two statements are exact the same after argumentization.
Statement from nonMappedInnerNodesT1:
if(!m.getModelName().startsWith(getModuleName() + ".")); Line 638 in the parent commit
Statement from nonMappedInnerNodesT2:
-if(!m.getModelName().startsWith(oldName + ".")); Line 653 in the child commit
Problem
Missing a statement mapping within an Extract Method refactoring
Commit
Here
File
AbstractModule.java
Extract Method case
Extract Method protected renameModels(oldName String, newName String) : void extracted from public rename(newName String) : void in class jetbrains.mps.project.AbstractModule
Problem description
Within the bodyMapper of the aforementioned refactoring, there is one statement in the nonMappedInnerNodesT1 and one in the nonMappedInnerNodesT2, which have to be mapped together. The two statements are exact the same after argumentization.
Statement from nonMappedInnerNodesT1:
if(!m.getModelName().startsWith(getModuleName() + "."));
Line 638 in the parent commitStatement from nonMappedInnerNodesT2:
-
if(!m.getModelName().startsWith(oldName + "."));
Line 653 in the child commit