Noel, I actually agree with Neill. I understand that mail.getRecipients() and modifying it works, but it is not intuitive and does not follow the Javabeans approach. Why not add setReceipients()? There isn't really an overhead there; you're just changing the reference of your collection from the old collection to the new one (and frankly, this also allows you to reuse the same collection). Sun's code does this across their entire API; we should do the same.
Why do you think you should call setRecipients()? Do you expect to need to call setMessage() as well after you add a header or make some modification to it?
-- Serge Knystautas President Lokitech >> software . strategy . design >> http://www.lokitech.com p. 301.656.5501 e. [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
