This inspection reports any String.indexOf() expressions which can be replaced with the JDK 5.0 method String.contains().

For safety, this inspection is disabled unless the project uses JDK 5.0.

Powered by InspectionGadgets