You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
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