title: Iterating Populated List<> Using Enhanced For Loop, temporary variable not populating
body: <p>Syntax reference:</p>
  
  <pre><code>for (typeName tempVariable : collection) { }
  </code></pre>
  
  <p>I have a populated <code>collection</code>. Specifically an ArrayList. The list has one element. While debugging, the value of <code>tempVariable</code> is not populated.</p>
  
  <pre><code>List&lt;Foo&gt; fooList = methodWhichPopulatesFooList(); // works fine, returns ArrayList&lt;Foo&gt;
  
  if (fooList != null) // evaluates to true
  {
    for (Foo tempFoo : fooList )
      {
         // tempFoo evaluates to null; // What am I missing?
      }
  }
  </code></pre>
  
  <p>Am I missing something obvious? Is there any circumstance in which this could occur? </p>
  
  <p>Thank you for your time and consideration!</p>