title: Getting error in java.util.ArrayList
body: <p>I am getting this error in the statement below:</p>
  
  <pre><code>type List does not take parameters
  </code></pre>
  
  <p>I am using this in my document listener class to validate all my text fields and once they are validated,enable the submit button.  The above statement is used to store all the text field documents in a list so that they can be validated combined.</p>
  
  <pre><code>List&lt;Document&gt; documents =new ArrayList&lt;Document&gt;();
  </code></pre>