title: BIgDecimal alternative like stringBuilder
body: <p><a href="https://stackoverflow.com/questions/1531377/analog-of-stringbuilder-for-bigdecimal">Analog of StringBuilder for BigDecimal</a></p>
  
  <p>I checked this link already but i am running sonar and it gives critical error for below lines:</p>
  
  <pre><code>.....
  BigDecimal total = new BigDecimal(0);
  
  for (int loop = 0; loop &lt;= 30; loop++) {
      switch (loop) {
          case 0: total.add(new BigDecimal(StringValue here)); break;
          case 1: total.add(new BigDecimal(stringValue here)); break;
          case 2: total.add(new BigDecimal(stringValue here)); break;
          //... and so on.
  </code></pre>
  
  <p>Any help how to resolve this error. Do I have to false positive this critical error as markerd by sonar.? </p>