title: IntelliJ IDEA weird foreach-loop warning
body: <p>IntelliJ IDEA is giving me a weird "weak warning" in my code where I loop through an <code>ArrayList</code>:</p>
  
  <p><img src="https://i.stack.imgur.com/BfCxv.png" alt="Weird warning"></p>
  
  <p>From what I know this is already a <code>foreach-loop</code>, so I'm confused why IDEA gives me this warning. I'm assuming that this is a bug, what do you think?</p>
  
  <p>When I click "more" it shows the following text - </p>
  
  <blockquote>
    <p>This inspection reports foreach loops which can be replaced with
    stream api calls. Stream api is not available under Java 1.7 or
    earlier JVMs.</p>
  </blockquote>