Class | Description |
---|---|
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
See http://sourceforge.net/forum/forum.php?thread_id=1438119&forum_id=188194
|
StringInstantiation | |
StringToStringRule | |
UnnecessaryCaseChange | |
UseIndexOfChar | |
UselessStringValueOf | |
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().length()
|