Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Jan 11, 2025
1 parent 555ec76 commit 0bff4ae
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 @@ -1806,7 +1806,7 @@ private boolean instanceAttributeMovedAlongWithMethod(UMLAttribute addedAttribut
}
}
if(targetClassDiff != null) {
for(UMLAttribute attribute : targetClassDiff.getOriginalClass().getAttributes()) {
for(UMLAttribute attribute : targetClassDiff.getRemovedAttributes()) {
if(attribute.getType() != null && removedAttribute.getClassName().endsWith(attribute.getType().getClassType())) {
return true;
}
Expand Down

0 comments on commit 0bff4ae

Please sign in to comment.