Skip to content

Commit

Permalink
Fixed InputFormatValidator
Browse files Browse the repository at this point in the history
  • Loading branch information
its-c10 committed Apr 10, 2022
1 parent 3477960 commit 51ff655
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static boolean isValidFormat(PromptInputType inputType, String input){
case DECIMAL: return isDecimal(input);
case INTEGER: return isInteger(input);
case LETTERS: return StringUtils.isAlpha(input);
case LETTERS_AND_NUMBERS: return StringUtils.isAlphanumeric(input);
case LETTERS_AND_NUMBERS: return StringUtils.isAlphanumericSpace(input);
case LOWERCASE_LETTERS: return StringUtils.isAllLowerCase(input);
case UPPERCASE_LETTERS: return StringUtils.isAllUpperCase(input);
case COLORFUL_STRING: return isColoredString(input);
Expand Down

0 comments on commit 51ff655

Please sign in to comment.