(Mostly) update for Spring Integration changes

This commit is contained in:
dsyer
2008-09-12 12:19:16 +00:00
parent a64a8382ab
commit f32ea26c67
26 changed files with 284 additions and 376 deletions

View File

@@ -146,7 +146,7 @@ public class JobExecution extends Entity {
/**
* Register a step execution with the current job execution.
* @param stepName TODO
* @param stepName the name of the step the new execution is associated with
*/
public StepExecution createStepExecution(String stepName) {
StepExecution stepExecution = new StepExecution(stepName, this);

View File

@@ -353,10 +353,9 @@ public abstract class AbstractStep implements Step, InitializingBean, BeanNameAw
exitStatus = new ExitStatus(false, ExitCodeMapper.NO_SUCH_JOB);
}
else {
String message = "";
StringWriter writer = new StringWriter();
ex.printStackTrace(new PrintWriter(writer));
message = writer.toString();
String message = writer.toString();
exitStatus = ExitStatus.FAILED.addExitDescription(message);
}