net.sourceforge.pmd.rules.strings
public class AppendCharacterWithChar extends AbstractRule
StringBuffer.append("c"); // appends a
single character
It is preferable to use StringBuffer.append('c'); // appends a single
character Implementation of PMD RFE 1373863
| Method Summary | |
|---|---|
| Object | visit(ASTLiteral node, Object data) |