BATCH-1075: renamed method parameters

This commit is contained in:
trisberg
2009-02-13 18:22:48 +00:00
parent e463b6a96b
commit fc3716ef7c

View File

@@ -201,12 +201,12 @@ public abstract class AbstractStepParser {
}
private void checkStepAttributes(Element element, RootBeanDefinition bd) {
String startLimit = element.getAttribute("start-limit");
private void checkStepAttributes(Element stepElement, RootBeanDefinition bd) {
String startLimit = stepElement.getAttribute("start-limit");
if (StringUtils.hasText(startLimit)) {
bd.getPropertyValues().addPropertyValue("startLimit", startLimit);
}
String allowStartIfComplete = element.getAttribute("allow-start-if-complete");
String allowStartIfComplete = stepElement.getAttribute("allow-start-if-complete");
if (StringUtils.hasText(allowStartIfComplete)) {
bd.getPropertyValues().addPropertyValue("allowStartIfComplete", allowStartIfComplete);
}