Andrew,
thank you for the hint, there is no reason for using ArrayList, just a stupid cut/paste bug. The fix is in the cvs, the constructor now asks for List.
Oliver
Andrew Thornton wrote:
Hi!
I'm trying to use the DefaultMutableTreeNode from org.apache.myfaces.custom.tree, however I've spotted a probable bug in one of the constructors.
Do you really mean:
public DefaultMutableTreeNode(ArrayList children, boolean allowsChildren)
and not
public DefaultMutableTreeNode(List children, boolean allowsChildren)
I can't see any reason why you'd want to use an ArrayList over a generic List implementation. What am I missing?
Thanks, andy -- Andrew Thornton [EMAIL PROTECTED]
-- Oliver Rossmueller Software Engineer and IT-Consultant Hamburg, Germany http://www.rossmueller.com
