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

JAVAC won't compile A<?>.B var = (A<?>.B) myObj;

This commit is contained in:
Ted Williams 2006-11-14 20:05:15 +00:00
parent 30a3f6f919
commit 4d3c78eee1

View file

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