Avoid Matching the types for the MergeVariableRefactoring, only focusing on the names
@@ -531,7 +531,7 @@ public class ProjectASTDiffer
List<Tree> srcChildrenList = srcVariableDeclaration.getChildren();
Tree srcVarName = srcChildrenList.get(srcChildrenList.size() - 1);
// mappingStore.addMapping(srcVariableDeclaration,dstVariableDeclaration);
- mappingStore.addMapping(srcVariableType,dstVariableType.getChild(0));
+// mappingStore.addMapping(srcVariableType,dstVariableType.getChild(0));
mappingStore.addMapping(srcVarName,dstVarName);
}
}
