Skip to content

Commit 4b80ef2

Browse files
committed
Merge pull request #26651 from MichelTenVoorde
* pr/26651: Polish "Update reference to deprecated CronSequenceGenerator" Update reference to deprecated CronSequenceGenerator Closes gh-26651
2 parents 70c0e10 + d308985 commit 4b80ef2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

spring-context/src/main/java/org/springframework/scheduling/annotation/Scheduled.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2019 the original author or authors.
2+
* Copyright 2002-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -85,7 +85,7 @@
8585
* trigger, primarily meant for externally specified values resolved by a
8686
* <code>${...}</code> placeholder.
8787
* @return an expression that can be parsed to a cron schedule
88-
* @see org.springframework.scheduling.support.CronSequenceGenerator
88+
* @see org.springframework.scheduling.support.CronExpression#parse(String)
8989
*/
9090
String cron() default "";
9191

spring-context/src/main/java/org/springframework/scheduling/config/CronTask.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -20,8 +20,8 @@
2020

2121
/**
2222
* {@link TriggerTask} implementation defining a {@code Runnable} to be executed according
23-
* to a {@linkplain org.springframework.scheduling.support.CronSequenceGenerator standard
24-
* cron expression}.
23+
* to a {@linkplain org.springframework.scheduling.support.CronExpression#parse(String)
24+
* standard cron expression}.
2525
*
2626
* @author Chris Beams
2727
* @since 3.2

spring-context/src/main/resources/org/springframework/scheduling/config/spring-task.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
<xsd:attribute name="cron" type="xsd:string" use="optional">
245245
<xsd:annotation>
246246
<xsd:documentation><![CDATA[
247-
A cron-based trigger. See the org.springframework.scheduling.support.CronSequenceGenerator
247+
A cron-based trigger. See the org.springframework.scheduling.support.CronExpression#parse
248248
JavaDoc for example patterns.
249249
]]></xsd:documentation>
250250
</xsd:annotation>

0 commit comments

Comments
 (0)