These rules deal with different problems that can occur with String manipulation.
Avoid instantiating String objects; this is usually unnecessary.
Code containing duplicate String literals can usually be improved by declaring the String as a constant field.
Avoid calling toString() on String objects; this is unnecessary