ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: FW: ConcurrentModificationException
Date Tue, 15 Jul 2003 08:54:27 GMT
Yep, the import task works again.

We probably should revert the script
test that showed up the problem in the first
place.

Peter

On Tue, 2003-07-15 at 09:35, Stefan Bodewig wrote:
> With a loop like
> 
>             for (int i = 0; i < children.size(); i++) {
>                 Object o = children.get(i);
> 
> instead of
> 
>             Iterator it = children.iterator();
>             while (it.hasNext()) {
>                 Object o = it.next();
> 
> we should be on the save side, I think.  children can only grow as
> there are only methods to add, not to remove tasks/types.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 
> 


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


Mime
View raw message