The 'task' sub-element of the 'scheduled-tasks' element is now 'scheduled' to be consistent with the @Scheduled annotation (and to avoid task:task).

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1394 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Mark Fisher
2009-06-17 19:39:51 +00:00
parent caecdb26b0
commit 12b2418623
3 changed files with 8 additions and 8 deletions
@@ -53,7 +53,7 @@ public class ScheduledTasksBeanDefinitionParser extends AbstractSingleBeanDefini
NodeList childNodes = element.getChildNodes();
for (int i = 0; i < childNodes.getLength(); i++) {
Node child = childNodes.item(i);
if (!(child instanceof Element) || !child.getLocalName().equals("task")) {
if (!(child instanceof Element) || !child.getLocalName().equals("scheduled")) {
continue;
}
Element taskElement = (Element) child;