Hi all,
I am migrating some of my code to
Java 1.5, and I have some warnings of unchecked calls on the use of java.util.Vector, as follows
<pre>
warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.Vector
ruleList.add(newRule);
</pre>
Honestly, I have absolutely no idea what this means, is it true that a vector is supposed to be array that you can add your objects to and retrieve them later, whatever the objects are.
As the code still compiles and works, I dont really have a problem with these warnings. However, it'll be great if someone tell me what it means, and what is "right" way to work with these calls.
TIA,
Tim.