for loop : Cannot be resolved to a variable
<p>I was wondering why I had this error when I tried to do this :</p>

<pre><code>Map&lt;Integer, List&lt;String&gt;&gt; map = (Map&lt;Integer, List&lt;String&gt;&gt;) parameters;

for(Integer i : map.keySet()) {
    tableFiles.setWidget(row, 0, addPanelFile(String.valueOf(i)));
    row++;
    for(map.get(i)) {

    }
}
</code></pre>

<p>Why can't i be resolved to a variable ?</p>
