Skip to content

Commit

Permalink
Fix: Validator for stock symbol rename
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyah committed May 25, 2026
1 parent e730057 commit adaec06
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public enum Validator {
/**
* Rule that checks if a string is considered a valid stock name.
* */
VALID_STOCK_NAME(NOT_EMPTY.validationRule.and(s ->
s.length() == 4), "Invalid stock name!"),
VALID_STOCK_SYMBOL(NOT_EMPTY.validationRule.and(s ->
s.length() == 4), "Invalid stock symbol!"),

/**
* Rule that checks if a string represents a positive integer.
Expand Down

0 comments on commit adaec06

Please sign in to comment.