new string is redundant code example
Example: new string' is redundant error
It is always redundant to use the constructor of String that accepts another
String as an argument, since String is immutable, and therefore there is no point in creating a new String
instance that is equal to the original instance. It is redundant.