[jdom-interest] setMixedContent(null)

philip.nelson at omniresources.com philip.nelson at omniresources.com
Sun Jun 24 09:56:31 PDT 2001


doesn't work as advertised

change to

    public Element setMixedContent(List mixedContent) {

        if (mixedContent == null) {
            content = new ArrayList(INITIAL_ARRAY_SIZE); //*****
            return this;
        }

        // Save list with original content and create a new list
        ArrayList oldContent = content;
        content = new ArrayList(INITIAL_ARRAY_SIZE);



More information about the jdom-interest mailing list