View by Classes

Findings - Overview

code-style UseStringBufferForStringAppends (PMD)

Prefer StringBuffer over += for concatenating strings

Further info on the wiki.
Finds usages of += for appending strings.
      
public class Foo {
 void bar() {
  String a;
  a = "foo";
  a += " bar";
  // better would be:
  // StringBuffer a = new StringBuffer("foo");
  // a.append(" bar);
 }
}
      
           

Additional info can be found at this http://pmd.sourceforge.net/rules/optimizations.html#UseStringBufferForStringAppends site.

3org.jcoderz.commons.types.YearMonth
 [284:16],  [292:16],  [294:13]
1org.jcoderz.commons.tracing.Slf4jTracer
 [175:21]
1org.jcoderz.commons.util.HexUtil
 [308:10]
1org.jcoderz.commons.util.HexUtilTest
 [108:13]
1org.jcoderz.commons.util.JarUtils
 [163:26]
1org.jcoderz.commons.tracing.AspectPattern
 [309:29]