myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Thornton <and...@caret.cam.ac.uk>
Subject DefaultMutableTreeNode
Date Tue, 22 Feb 2005 14:37:27 GMT
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
andrew@caret.cam.ac.uk

Mime
View raw message