Skip to content

Commit

Permalink
Perfecting diff for commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Mar 19, 2024
1 parent 3449d29 commit 3b65bc8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,8 @@ else if(streamAPIStatements1.size() > 0 && streamAPIStatements2.size() == 0) {
if(comp2.getExpressions().size() == 1) {
AbstractExpression expression2 = comp2.getExpressions().get(0);
AbstractCall call2 = expression2.invocationCoveringEntireFragment();
if(call2 != null && call1.identicalExpression(call2) && call1.equalArguments(call2)) {
if(call2 != null && call1.identicalExpression(call2) && (call1.equalArguments(call2) ||
call1.identicalOrReplacedArguments(call2, mapping.getReplacements(), Collections.emptyList()))) {
continue;
}
}
Expand Down

0 comments on commit 3b65bc8

Please sign in to comment.