[jdom-interest] setChildren(List)

philip.nelson at omniresources.com philip.nelson at omniresources.com
Mon Jun 25 09:57:09 PDT 2001


> The setChildren() method is intimating that you are passing a list
> containing 
> only Elements to be added.
> 
> I personally use this method a great deal as it tends to point out to
> the reader
> that I'm passing a list containing only Elements and nothing else.
> 
> With the introduction of the FilterList (beta8 ?) this method should
> throw an
> exception if a list is passed in containing anything other than a list
> of
> Elements. IMHO.
> 
> I'd personally like to see this one stay.

Sounds good to me ;-)



More information about the jdom-interest mailing list