Replace occurrences of String.indexOf(String) by String.indexOf(Char) fo...

...r single-char strings (PMD report).