Skip to content

Commit

Permalink
Small improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Dec 17, 2024
1 parent dddf17c commit 00028d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/gr/uom/java/xmi/diff/MappingOptimizer.java
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,9 @@ private boolean stringBasedInvocationMatch(AbstractCodeFragment callFragment, Ab
if(invocation.getCoverage().equals(StatementCoverageType.VARIABLE_DECLARATION_INITIALIZER_CALL)) {
return true;
}
if(callFragment instanceof AbstractExpression) {
return true;
}
String expression = invocation.getExpression();
if(expression != null && !expression.equals("this")) {
return true;
Expand Down

0 comments on commit 00028d2

Please sign in to comment.