Warning: [unchecked] unchecked conversion
<p>I am facing an issue with generics here. Can anyone please point me what I am missing over in the below statements?</p>

<p>1.</p>

<pre><code>warning: [unchecked] unchecked conversion

List&lt;Question&gt; qList = (List) session.getAttribute("qList");
                                       ^
  required: List&lt;Question&gt;
  found:    List
</code></pre>

<p>2.</p>

<pre><code>warning: [unchecked] unchecked conversion

List&lt;ExamSchedule&gt; eList = new &lt;ExamSchedule&gt;ArrayList();

required: List&lt;ExamSchedule&gt;
found:    ArrayList
</code></pre>

<p>I don't want to supress the warnings. Any suggestions will be appreciated.</p>
