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

This commit is contained in:
Mark Fisher
2009-06-17 19:39:51 +00:00
parent 9368e76ffc
commit b2d73b9824
3 changed files with 8 additions and 8 deletions

View File

@@ -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;