Browse Source

Polish "Update reference to deprecated CronSequenceGenerator"

See gh-26651
pull/26658/head
Stephane Nicoll 4 years ago
parent
commit
d308985edc
  1. 2
      spring-context/src/main/java/org/springframework/scheduling/annotation/Scheduled.java
  2. 6
      spring-context/src/main/java/org/springframework/scheduling/config/CronTask.java
  3. 2
      spring-context/src/main/resources/org/springframework/scheduling/config/spring-task.xsd

2
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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

6
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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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 * {@link TriggerTask} implementation defining a {@code Runnable} to be executed according
* to a {@linkplain org.springframework.scheduling.support.CronSequenceGenerator standard * to a {@linkplain org.springframework.scheduling.support.CronExpression#parse(String)
* cron expression}. * standard cron expression}.
* *
* @author Chris Beams * @author Chris Beams
* @since 3.2 * @since 3.2

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

@ -244,7 +244,7 @@
<xsd:attribute name="cron" type="xsd:string" use="optional"> <xsd:attribute name="cron" type="xsd:string" use="optional">
<xsd:annotation> <xsd:annotation>
<xsd:documentation><![CDATA[ <xsd:documentation><![CDATA[
A cron-based trigger. See the org.springframework.scheduling.support.CronSequenceGenerator A cron-based trigger. See the org.springframework.scheduling.support.CronExpression#parse
JavaDoc for example patterns. JavaDoc for example patterns.
]]></xsd:documentation> ]]></xsd:documentation>
</xsd:annotation> </xsd:annotation>

Loading…
Cancel
Save