1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

A<?>.B var = (A<?>.B) myObj;

This commit is contained in:
Ted Williams 2006-11-14 20:06:07 +00:00
parent 4d3c78eee1
commit 1ae33e7c6a

View file

@ -76,7 +76,7 @@ abstract public class DMContextVMLayoutNode<V extends IDMData> extends AbstractV
public boolean equals(Object other) { public boolean equals(Object other) {
if (!(other instanceof DMContextVMLayoutNode<?>.DMContextVMContext)) return false; if (!(other instanceof DMContextVMLayoutNode<?>.DMContextVMContext)) return false;
DMContextVMLayoutNode<?>.DMContextVMContext otherVmc = (DMContextVMLayoutNode.DMContextVMContext)other; DMContextVMLayoutNode<?>.DMContextVMContext otherVmc = (DMContextVMLayoutNode<V>.DMContextVMContext)other;
return DMContextVMLayoutNode.this.equals(otherVmc.getLayoutNode()) && return DMContextVMLayoutNode.this.equals(otherVmc.getLayoutNode()) &&
fParent.equals(otherVmc.fParent) && fParent.equals(otherVmc.fParent) &&
fDmc.equals(otherVmc.fDmc); fDmc.equals(otherVmc.fDmc);