Consecutively calling StringBuffer.append with String literalspublic class Foo { private void bar() { StringBuffer buf = new StringBuffer(); buf.append("Hello").append(" ").append("World"); //bad buf.append("Hello World");//good } }Additional info can be found at this http://pmd.sourceforge.net/rules/strings.html#ConsecutiveLiteralAppends site.