title: To finish a function; return void or break loop?
body: <p>I'm showing you two examples:</p>
  
  <p>Example A:</p>
  
  <pre><code>protected void mostrarCms(int idCms) {
      LinearLayout variableContent = (LinearLayout) this.findViewById(R.id.variableContent);
  
      loopDeCms:
      for (int i=0; i&lt;variableContent.getChildCount();i++){
          View fillActual = variableContent.getChildAt(i);
          if (fillActual instanceof WebView){
              WebView wbActual = (WebView) fillActual;
              if (wbActual.getContentDescription().toString().equals("cms_id_"+idCms)){
                  wbActual.setVisibility(View.VISIBLE);
                  break loopDeCms;
              } 
          }
      } 
  }
  </code></pre>
  
  <p>Example B:</p>
  
  <pre><code>protected void mostrarCms(int idCms) {
      LinearLayout variableContent = (LinearLayout) productView.this.findViewById(R.id.variableContent);
  
      for (int i=0; i&lt;variableContent.getChildCount();i++){
          View fillActual = variableContent.getChildAt(i);
          if (fillActual instanceof WebView){
              WebView wbActual = (WebView) fillActual;
              if (wbActual.getContentDescription().toString().equals("cms_id_"+idCms)){
                  wbActual.setVisibility(View.VISIBLE);
                  return;
              } 
          }
      } 
  }
  </code></pre>
  
  <p>Which one of those both is recommended? Note that this code is from Android, so resources used / freed or not, actually matter.</p>