RE: Barracuda: Patch for IterativeListModel

"Christian Cryder" <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
I'm +1 on this, and can go ahead an apply the patch, but first I'd like to
give Diez a change to comment on it before I do (since he actually owns the
code).

Diez? Is there any reason not to do this?

On a slightly different note, is there any reason why we shouldn't move this
into the core.comp package? I don't see any real dependencies...

Christian
----------------------------------------------
Christian Cryder [[email protected]]
Internet Architect, ATMReports.com
Barracuda - http://barracuda.enhydra.org
----------------------------------------------
"Coffee? I could quit anytime, just not today"


> -----Original Message-----
> From: [email protected] [mailto:[email protected]]On
> Behalf Of Stefan Armbruster
> Sent: Friday, December 06, 2002 5:59 AM
> To: [email protected]
> Subject: Barracuda: Patch for IterativeListModel
>
>
> Hi,
>
> IterativeListModel uses internally a List. The only operation called
> upon this is iterator(). Since List extends Collection, it is sufficient
> to use Collection instead of List inside IterativeListModel.
> The attached patch solves this.
>
> There's no need to modify any code that uses IterativeListModel, only a
> recompile is necessary.
>
> The benefit from this is, you can pass e.g. Set to IterativeListModel.
>
> Regards,
> Stefan
>

_______________________________________________
Barracuda mailing list
[email protected]
http://www.enhydra.org/mailman/listinfo.cgi/barracuda
FAQ - http://www.jguru.com/faq/Barracuda
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.