title: Type safety: The method.. belongs to the raw type.. refs to generics should be parameterized
body: <p>Eclipse gives me the warning (in the title) using just the following code in a working project with nothing in it but a dummy class and a main method:</p>
  
  <pre><code>List a = new ArrayList();
  List&lt;Integer&gt; b = new ArrayList&lt;Integer&gt;();
  int x = 19;
  a.add(x);
  </code></pre>
  
  <p>The last line triggers the warning.  I'm not sure what I am doing wrong here, or really, what I am even doing.  I am a Java student following a dubious tutorial and I am attempting to understand generics.  Supposedly, variable x doesn't illustrate type safety.  I tried casting it to the Object type (which I think does nothing because it already is) and it didn't work.</p>
  
  <p>How might I resolve this warning?</p>