Package net.sourceforge.pmd.rules.strings

Class Summary
AppendCharacterWithChar This rule finds the following:

AvoidDuplicateLiteralsRule  
AvoidDuplicateLiteralsRule.ExceptionParser  
ConsecutiveLiteralAppends This rule finds concurrent calls to StringBuffer.append where String literals are used It would be much better to make these calls using one call to .append

example:

InefficientEmptyStringCheck This rule finds code which inefficiently determines empty strings.
InefficientStringBuffering  
InsufficientStringBufferDeclaration This rule finds StringBuffers which may have been pre-sized incorrectly
StringInstantiation  
StringToStringRule  
UnnecessaryCaseChange  
UseIndexOfChar  
UseStringBufferLength This rule finds places where StringBuffer.toString() is called just to see if the string is 0 length by either using .equals("") or toString().size()

 



Copyright © 2002-2006 InfoEther. All Rights Reserved.