Bug #1:

If I remove the getModules() method from the code below, then the
addModule() method is never called and no error is reported.

import java.util.List;
import java.util.ArrayList;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import org.tigris.scarab.util.xmlissues.Module;

public class ScarabIssues implements java.io.Serializable
{
    private final static Log log = LogFactory.getLog(ScarabIssues.class);

    public ScarabIssues()
    {
    }

    public List getModules()
    {
        return new ArrayList();
    }

    public void addModule(Module module)
    {
        log.debug("Module: " + module.getName());
    }
}

Bug #2:

If the Module class referenced above does not implement Serializable, then
it is also not called and no error is reported.


-jon


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to