ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [OT] Build Time
Date Mon, 18 Aug 2003 14:39:26 GMT
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