title: how to optimize this code -Sonar warning
body: <p>Sonar giving me warning for too complex method.</p>
  
  <p>I have following code snippet but I am not sure how I can modify it more:</p>
  
  <pre><code>for(OrtErgAllType ergAllType : oast.getOrt()) {
      if(ergAllType.getLaenderkennzeichen().equalsIgnoreCase(COUNTRY_CODE)) {
          String plzAndOrt = composePLZAndOrt(ergAllType.getPostleitzahl(), ergAllType.getPostortKurz());
          if (!cities.contains(plzAndOrt)) {
              items.add(new SelectItem(plzAndOrt));
              cities.add(plzAndOrt);        
          }    
      }
  }
  </code></pre>