Update KnuthMorrisPratStringPattern.java