ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: [OT] Build Time
Date Mon, 18 Aug 2003 14:40:47 GMT
Very clever indeed ;-) Thanks Stefan. --DD

> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: Monday, August 18, 2003 9:39 AM
> To: dev@ant.apache.org
> Subject: Re: [OT] Build Time
> 
> On Mon, 18 Aug 2003, Dominique Devienne <DDevienne@lgc.com> wrote:
> 
> > Does that work with removing a listener as well?
> 
> Should do.
> 
> What the code does is to replace the listener list with a new one in
> add/remove.  The fire method will grab the list and either work on the
> old list or on the new, but it will keep using the same list
> throughout the method.
> 
> The iterator will traverse a list that will never get modified in
> either case.
> 
> Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message