diff --git a/spring-context/src/main/java/org/springframework/scheduling/annotation/Scheduled.java b/spring-context/src/main/java/org/springframework/scheduling/annotation/Scheduled.java index ad8a477d380..415c7238179 100644 --- a/spring-context/src/main/java/org/springframework/scheduling/annotation/Scheduled.java +++ b/spring-context/src/main/java/org/springframework/scheduling/annotation/Scheduled.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -85,7 +85,7 @@ public @interface Scheduled { * trigger, primarily meant for externally specified values resolved by a * ${...} placeholder. * @return an expression that can be parsed to a cron schedule - * @see org.springframework.scheduling.support.CronSequenceGenerator + * @see org.springframework.scheduling.support.CronExpression#parse(String) */ String cron() default ""; diff --git a/spring-context/src/main/java/org/springframework/scheduling/config/CronTask.java b/spring-context/src/main/java/org/springframework/scheduling/config/CronTask.java index c011222cda6..a8af8ed3620 100644 --- a/spring-context/src/main/java/org/springframework/scheduling/config/CronTask.java +++ b/spring-context/src/main/java/org/springframework/scheduling/config/CronTask.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,8 +20,8 @@ import org.springframework.scheduling.support.CronTrigger; /** * {@link TriggerTask} implementation defining a {@code Runnable} to be executed according - * to a {@linkplain org.springframework.scheduling.support.CronSequenceGenerator standard - * cron expression}. + * to a {@linkplain org.springframework.scheduling.support.CronExpression#parse(String) + * standard cron expression}. * * @author Chris Beams * @since 3.2 diff --git a/spring-context/src/main/resources/org/springframework/scheduling/config/spring-task.xsd b/spring-context/src/main/resources/org/springframework/scheduling/config/spring-task.xsd index 414a2a35865..d33af8ab099 100644 --- a/spring-context/src/main/resources/org/springframework/scheduling/config/spring-task.xsd +++ b/spring-context/src/main/resources/org/springframework/scheduling/config/spring-task.xsd @@ -244,7 +244,7 @@