Skip to content

Commit

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

0 comments on commit 3ae581d

Please sign in to comment.