Substituted String by Char arguments in String.indexOf() calls for single-char strings (PMD report).