Reports a variety of redundant String-related operations like calling string.toString() or string.substring(0). Also, reports usage of redundant String constructors like new String() (equivalent to "") or new String(anotherString) (equivalent to anotherString). Such code, when fixed, may change the program semantics if String referential equality is important (which is commonly considered as a bad practice). In this case, consider suppressing the warning or using the inspection option to disable reporting such problems.

New in 2018.1