Well, you are right. Vector are not deprecated in the strict sense of the word. I was confusing because the use of Vector should be avoided, because that class is there only for legacy code support. If you need to synchronize an ArrayList, you can instead use: List list = Collections.synchronizedList(new ArrayList(...));
Anyhow, because they are effectively not deprecated, this can't be the cause of the warnings. Ciao ;) Roberto On Sep 13, 10:49 pm, terje_sverje <[EMAIL PROTECTED]> wrote: > Vectors are synchronized. ArrayLists are not. So I don't think they > will go deprecated. > > On Sep 12, 12:25 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > I think that Java consider Vector class deprecated. Look at Java doc > > to see how to use ArrayList instead of Vector. > > > Ciao ;) > > Roberto > > > On Sep 11, 11:34 pm, Kevin <[EMAIL PROTECTED]> wrote: > > > > GWT client-side supports Vectors, right? > > > > I'm getting a ton of warnings about Vectors... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
