Warning eith deprecated api

Hi frnds,

i have compile my application with j2sdk1.4.0_01.

when i compile with jdk1.5.0_01 i got following warning

[unchecked] unchecked call to addElement(E) as a member of the raw type java.util.vector

so please any one help me,why this warning came and what is solution for that.

thanks

pandev84

[343 byte] By [pandev84a] at [2007-11-27 6:01:47]
# 1
This is because Java 5 introduced generics. The solution would be to generify your code.
dwga at 2007-7-12 16:42:09 > top of Java-index,Core,Core APIs...
# 2
Hello frnds,thankx for your valuable replybut i am can not got u properlyplease explain me well....Thankx in advanceregards,Pandev84
pandev84a at 2007-7-12 16:42:09 > top of Java-index,Core,Core APIs...
# 3
> but i am can not got u properlyNor do I ;-)Anyway, look after "generics". It is a major new feature of the Java language introduced with the version 1.5.
BIJ001a at 2007-7-12 16:42:09 > top of Java-index,Core,Core APIs...
# 4
... and BTW there is nothing 'deprecated' about this situation, you just made that up.
ejpa at 2007-7-12 16:42:09 > top of Java-index,Core,Core APIs...