Skip to content

Commit

Permalink
Polish org.springframework.scheduling.support.CronExpression#isValidE…
Browse files Browse the repository at this point in the history
…xpression

Signed-off-by: 随风 <2721885092@qq.com>
  • Loading branch information
IsAurora6 committed Jan 25, 2025
1 parent 86b04b7 commit 20b06ef
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,6 @@ public static CronExpression parse(String expression) {
* @since 5.3.8
*/
public static boolean isValidExpression(@Nullable String expression) {
if (expression == null) {
return false;
}
try {
parse(expression);
return true;
Expand Down

0 comments on commit 20b06ef

Please sign in to comment.