Skip to content

Example shows deprecated ScheduledTimerTask [SPR-10050] #14683

@spring-projects-issues

Description

@spring-projects-issues

Per Holmberg opened SPR-10050 and commented

Spring 3.1 reference manual, section 26.7.1 shows an example of ScheduledTimerTask, but if you read the javadoc of ScheduledTimerTask, this class is deprecated:

as of Spring 3.0, in favor of the scheduling.concurrent package which is based on Java 5's java.util.concurrent.ExecutorService

Documentation should be updated with an up-to-date example?


Affects: 3.1.3

Referenced from: commits 90fbeb1, d6b9c6a

Backported to: 3.1.4

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions