> -Original Message-
> From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 21, 2003 2:13 PM
> To: Ant Developers List
> Subject: Re: cvs commit: ant/src/testcases/org/apache/tools/mail
> MailMessageTest.java
>
> Isn't there a danger in using a non-synchronized cla
Allows you to use any List implementation (Vector, ArrayList, LinkedList)
first of all, and thus use a non-synchronized list implementation like
ArrayList. Vector is just a JDK 1.1'ism to me...
We must keep Vector anywhere it appears in the API of a class, but anywhere
else we should prefer Java2
Too bad you can't use LinkedHashMap.
OTOH, you could use List instead of Vector, now that Java 1.2 is OK...
--DD
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 21, 2003 11:16 AM
> To: [EMAIL PROTECTED]
> Subject: cvs commit: ant/src/test