title: Found 'UR'-anomaly for variable
body: <p>I have this sonar error Major:</p>
  
  <blockquote>
    <p>Found 'UR'-anomaly for variable 'language' (lines '83'-'85')</p>
  </blockquote>
  
  <p>in this function: </p>
  
  <pre><code>public void saveAll(List&lt;Language&gt; languages){
     //Found 'UR'-anomaly for variable 'country' (lines '83'-'85').       
     //Code Smell   Major    Open    Not assigned   20min effort   Comment
     for (Language language: languages) {
          save(language);
     }
  }
  </code></pre>
  
  <p>how to fix this major error please, thanks for advance</p>