myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Thornton <>
Subject DefaultMutableTreeNode
Date Tue, 22 Feb 2005 14:37:27 GMT
    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?

Andrew Thornton

View raw message