the following code compiles within Eclipse, but not within IDEA:
public Vector<SomeOtherType> getChildren()
where the superclass has just:
public Vector getChildren()
IDEA reports a compilation error:
Error:Error:line (1.621)getChildren() in ... cannot override getChildren() in ...; attempting to use incompatible return type
found : java.util.Vector<SomeOtherType>
does anybody know if Eclipse does compile something illegal here, or if IDEA fails to compile something legal?