Mike Schilling <> wrote:
> ArrayList<Node>[] myarr = new ArrayList[n];
>
Yep, you're right. I picked up that confusion from an early version of
the Eclipse generics compiler. It appears that nkalagarla also did the
same, since the warning from his/her post was apparently missing in
Eclipse up to 3.2M6, and fixed there. With the current 3.2 milestone,
both options correctly give warnings.
That'll teach me to read the spec before replying with something I don't
understand.
--
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation