'String.indexOf()' expression can be replaced with 'contains()'
Reports comparisons with
String.indexOf() calls that can be replaced with a call to the
After the quick-fix is applied:
This inspection only reports if the language level of the project or module is 5 or higher.
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3