添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Since Spring 5.3 the CronSequenceGenerator is deprecated, including the static isValidExpression function. The replacement class CronExpression does not contain this helper method, thus throwing us back to a:
try { <create expression object>; return true; } catch (Exception e) { return false; }
I would like to see the static checker method back, either on CronExpression or on another class. Thanks!

This commit introduces CronExpression::isValidExpression, which was also
present on the deprecated CronSequenceGenerator.
Closes: spring-projectsgh-26996
This commit introduces CronExpression::isValidExpression, which was also
present on the deprecated CronSequenceGenerator.
Closes: spring-projectsgh-26996