Commit 7dec6db7 authored by Martin Lowe's avatar Martin Lowe

Fix bad type check in equals for BareNode class

Signed-off-by: Martin Lowe's avatarMartin Lowe <martin.lowe@eclipse-foundation.org>
parent 0d314806
......@@ -41,7 +41,7 @@ public abstract class BareNode {
if (getClass() != obj.getClass()) {
return false;
}
NodeBase other = (NodeBase) obj;
BareNode other = (BareNode) obj;
return super.equals(obj) && Objects.equals(getId(), other.getId());
}
}
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