Remove validChar in favor of Char.isUpper.