GitLab will be shut down on June 25 to move to a new facility. https://www.eclipsestatus.io/incidents/5ffy27gwcbx7

Commit 975731bf authored by Miklos Magyari's avatar Miklos Magyari
Browse files

OOP: fixed possible null exception for class casting checks


Signed-off-by: Miklos Magyari's avatarMiklos Magyari <miklos.magyari@sigmatechnology.se>
parent 9732a21a
......@@ -591,6 +591,11 @@ public final class Class_Type extends Type implements ITypeWithComponents {
}
}
if (related.isObject()) {
// 'Identical' is handled by the previous `if` block
return ClassRelation.Related;
}
if (this.equals(related)) {
return ClassRelation.Identical;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment