Skip to content

Commit

Permalink
Fix for issue #780
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Sep 18, 2024
1 parent a72ae04 commit ee9ff5e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@ private boolean equalType(VariableDeclaration removedVariable, VariableDeclarati
}
if(classDiff instanceof UMLClassBaseDiff) {
UMLTypeParameterListDiff listDiff = ((UMLClassBaseDiff)classDiff).getTypeParameterDiffList();
if(listDiff != null && removedVariable.getType().matchWithParentClassTypeParameterChange(addedVariable.getType(), listDiff.getTypeParameterDiffs())) {
if(listDiff != null && removedVariable.getType() != null && addedVariable.getType() != null &&
removedVariable.getType().matchWithParentClassTypeParameterChange(addedVariable.getType(), listDiff.getTypeParameterDiffs())) {
return true;
}
}
Expand Down

0 comments on commit ee9ff5e

Please sign in to comment.