Skip to content

Commit

Permalink
Restore detected refactorings in commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Dec 12, 2024
1 parent 675eb4b commit 510381a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7791,6 +7791,11 @@ private AbstractCodeMapping findParentMappingContainingOperationInvocation() {
if(statementContainingOperationInvocation != null) {
if(mapping.getFragment2().equals(statementContainingOperationInvocation.getParent())) {
boolean extractedStatement = parentMapper.extractedStatements.containsKey(this.container2) && parentMapper.extractedStatements.get(this.container2).contains(mapping.getFragment1());
for(UMLOperationBodyMapper childMapper : parentMapper.getChildMappers()) {
if(childMapper.mappingHashcodesT1.contains(mapping.getFragment1().hashCode())) {
extractedStatement = true;
}
}
if(!extractedStatement)
return mapping;
}
Expand Down

0 comments on commit 510381a

Please sign in to comment.