title: Is chain of StringBuilder.append more efficient than string concatenation?
body: <p>According to Netbeans hint named <strong>Use chain of .append methods instead of string concatenation</strong></p>
  
  <blockquote>
    <p>Looks for string concatenation in the parameter of an invocation of the append method of StringBuilder or StringBuffer.</p>
  </blockquote>
  
  <p>Is StringBuilder.append() really more efficient than strings concatenation?</p>
  
  <p>Code sample</p>
  
  <pre><code>StringBuilder sb = new StringBuilder();
  sb.append(filename + "/");
  </code></pre>
  
  <p>vs.</p>
  
  <pre><code>StringBuilder sb = new StringBuilder();
  sb.append(filename).append("/");
  </code></pre>