Re: cvs commit: ant/src/testcases/org/apache/tools/mail MailMessageTest.java

2003-08-21 Thread Steve Loughran
Martijn Kruithof wrote: Antoine Levy-Lambert wrote: Isn't there a danger in using a non-synchronized class ? Otherwise I can gladly switch to ArrayList. Antoine There are wrappers for that (Collections.synchronizedXXX(XXX xxx) XXX = Collection , List, Map, Set, SortedMap or SortedSet. So that shou

Re: cvs commit: ant/src/testcases/org/apache/tools/mail MailMessageTest.java

2003-08-21 Thread Martijn Kruithof
Antoine Levy-Lambert wrote: Isn't there a danger in using a non-synchronized class ? Otherwise I can gladly switch to ArrayList. Antoine There are wrappers for that (Collections.synchronizedXXX(XXX xxx) XXX = Collection , List, Map, Set, SortedMap or SortedSet. So that should not be an issue. (That

Re: cvs commit: ant/src/testcases/org/apache/tools/mail MailMessageTest.java

2003-08-21 Thread Antoine Levy-Lambert
From: "Dominique Devienne" <[EMAIL PROTECTED]> > > To: "'Ant Developers List'" <[EMAIL PROTECTED]> > > Sent: Thursday, August 21, 2003 6:46 PM > > Subject: RE: cvs commit: ant/src/testcase

Re: cvs commit: ant/src/testcases/org/apache/tools/mail MailMessageTest.java

2003-08-21 Thread Antoine Levy-Lambert
What is the advantage of List compared to Vector ? Antoine - Original Message - From: "Dominique Devienne" <[EMAIL PROTECTED]> To: "'Ant Developers List'" <[EMAIL PROTECTED]> Sent: Thursday, August 21, 2003 6:46 PM Subject: RE: cvs commi