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 Dec 29, 2024
1 parent 8b99a3b commit 4629b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/gr/uom/java/xmi/diff/UMLClassBaseDiff.java
Original file line number Diff line number Diff line change
Expand Up @@ -2507,7 +2507,7 @@ private UMLOperationBodyMapper findBestMapper(TreeSet<UMLOperationBodyMapper> ma
VariableDeclarationContainer secondBestMapperOperation1 = mapperList.size() > 1 ? mapperList.get(1).getContainer1() : null;
VariableDeclarationContainer secondBestMapperOperation2 = mapperList.size() > 1 ? mapperList.get(1).getContainer2() : null;
boolean secondBestMapperEqualSignatureWithCommonParameterTypes = secondBestMapperOperation1 != null && secondBestMapperOperation2 != null ?
equalSignatureWithCommonParameterTypes(secondBestMapperOperation1, secondBestMapperOperation2) : false;
equalSignatureWithCommonParameterTypes(secondBestMapperOperation1, secondBestMapperOperation2) && !secondBestMapperOperation1.isConstructor() && !secondBestMapperOperation2.isConstructor() : false;
int secondBestCommontParameterTypes = secondBestMapperOperation1 != null && secondBestMapperOperation2 != null ?
secondBestMapperOperation1.commonParameterTypes(secondBestMapperOperation2).size() : 0;
boolean identicalBodyWithOperation1OfTheBestMapper = identicalBodyWithAnotherAddedMethod(bestMapper);
Expand Down

0 comments on commit 4629b0c

Please sign in to comment.