title: Why I receive "Deprecated" warning in Groovy Eclipse IDE but not in IntelliJ IDEA?
body: <p>I just recently started learning Groovy and I noticed, in Groovy Eclipse, the min() and max() method calls on a collection, for example a list, are always struck out as "Deprecated". The warning message suggested that I better use the "iterable" version. </p>
  
  <p>What I don't understand is a list implements iterable interface, so it is already an iterable.</p>
  
  <p>(BTW, I used compiler level 2.4)</p>
  
  <p>The same code didn't get any warning in IntelliJ IDEA. </p>
  
  <p>Question: Is that warning legitimate? If yes, then how? Or is it a problem with IDE?</p>
  
  <pre><code>def list = [1, 2, 3, 4];
  print list.max();
  </code></pre>
  
  <p>I even changed the variable declaration like this:</p>
  
  <pre><code>List list = [1, 2, 3, 4];
  </code></pre>
  
  <p>But still receive "Deprecated" warning.</p>