Updated Javadoc

had the wrong javadoc comment for the getNextCharIdx method