Skip to content

Commit

Permalink
Improvement over previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Jan 6, 2025
1 parent 852b145 commit 552b41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/gr/uom/java/xmi/diff/UMLModelDiff.java
Original file line number Diff line number Diff line change
Expand Up @@ -4495,7 +4495,7 @@ else if(!newMappingSamePackage && oldMappingSamePackage) {
private Set<UMLOperationBodyMapper> findMappersWithTheSameFragment1(Set<AbstractCodeMapping> mappings) {
Set<UMLOperationBodyMapper> mappers = new LinkedHashSet<UMLOperationBodyMapper>();
for(Refactoring r : this.refactorings) {
if(r instanceof ExtractOperationRefactoring) {
if(r instanceof ExtractOperationRefactoring && r.getRefactoringType().equals(RefactoringType.EXTRACT_AND_MOVE_OPERATION)) {
ExtractOperationRefactoring extract = (ExtractOperationRefactoring)r;
for(AbstractCodeMapping newMapping : mappings) {
for(AbstractCodeMapping oldMapping : extract.getBodyMapper().getMappings()) {
Expand Down

0 comments on commit 552b41f

Please sign in to comment.