View by Classes

Findings - Overview

info ConsecutiveLiteralAppends (PMD)

Further info on the wiki.
Consecutively calling StringBuffer.append with String literals

public 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.

4org.jcoderz.commons.connector.http.transport.HttpClientConnectionImpl
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. [585:33],
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. [597:33],
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. [657:24],
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. [686:24]
3org.jcoderz.commons.tracing.AspectPattern
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. [276:31],
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. [334:31],
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. [339:31]
2org.jcoderz.commons.connector.http.HttpConnectionHelper
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. [384:28],
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. [411:23]
2org.jcoderz.commons.connector.http.transport.ClientHandler
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. (test code) [601:29],
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. (test code) [602:29]
1org.jcoderz.phoenix.sqlparser.CreateSequenceStatement
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. [67:18]
1org.jcoderz.commons.connector.http.ConnectorResponse
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. (test code) [105:20]
1org.jcoderz.phoenix.templategen.TemplateDescr
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. [218:18]
1org.jcoderz.commons.taskdefs.XsltBasedTask
StringBuffer.append is called 2 consecutive times with literal Strings. Use a single append with a single String. [243:27]