boolean (@Nullable String inputString) { if (inputString != null && DIGITS_ILLEGAL.matcher(inputString).matches()) { myErrorText = HgBundle.message("hg4idea.validation.name.invalid"); return true; } return false; }