title: Difference for single line append and multiple line append in StringBuffer?
body: <p>I know code snippet-1 is poor coding quality, best practice is code snippet-2.<br>
  But does it decrease performance in code snippet-1 ?<br>
  Is there any performance between these two snippets ? If yes, then how ?  </p>
  
  <p><strong>Snippet-1</strong></p>
  
  <pre><code>StringBuffer strBuffer = new StringBuffer();
  strBuffer.append("Text line 1");
  strBuffer.append("Text line 2");
  strBuffer.append("Text line 3");
  strBuffer.append("Text line 4");
  strBuffer.append("Text line 5");
  </code></pre>
  
  <p><strong>Snippet-2</strong></p>
  
  <pre><code>StringBuffer strBuffer = new StringBuffer();
  strBuffer.append("Text line 1")
          .append("Text line 2")
          .append("Text line 3")
          .append("Text line 4")
          .append("Text line 5");
  </code></pre>