From d308985edc4c5b42d6d2e268f1dd3a5a7e59b9f5 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 9 Mar 2021 08:14:22 +0100 Subject: [PATCH] Polish "Update reference to deprecated CronSequenceGenerator" See gh-26651 --- .../springframework/scheduling/annotation/Scheduled.java | 2 +- .../org/springframework/scheduling/config/CronTask.java | 6 +++--- .../org/springframework/scheduling/config/spring-task.xsd | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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 f545c8b02b..415c723817 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. 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 c011222cda..a8af8ed362 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 414a2a3586..d33af8ab09 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 @@