(Mostly) update for Spring Integration changes
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user