BATCH-1594: remove non-existent override method
This commit is contained in:
@@ -71,7 +71,6 @@ public class NonAbstractStepTests {
|
||||
* Fills the events list when listener methods are called, prefixed with the
|
||||
* name of the listener.
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
private class EventTrackingListener implements StepExecutionListener {
|
||||
|
||||
private String name;
|
||||
@@ -91,13 +90,6 @@ public class NonAbstractStepTests {
|
||||
return stepExecution.getExitStatus();
|
||||
}
|
||||
|
||||
public ExitStatus onErrorInStep(StepExecution stepExecution, Throwable e) {
|
||||
assertSame(execution, stepExecution);
|
||||
events.add(getEvent("onErrorInStep"));
|
||||
stepExecution.getExecutionContext().putString("onErrorInStep", "onErrorInStep");
|
||||
return stepExecution.getExitStatus();
|
||||
}
|
||||
|
||||
public void beforeStep(StepExecution stepExecution) {
|
||||
assertSame(execution, stepExecution);
|
||||
events.add(getEvent("beforeStep"));
|
||||
|
||||
@@ -122,23 +122,10 @@ public class StagingItemReader<T> implements ItemReader<ProcessIndicatorItemWrap
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see
|
||||
* org.springframework.batch.core.domain.StepListener#afterStep(StepExecution
|
||||
* )
|
||||
*/
|
||||
public ExitStatus afterStep(StepExecution stepExecution) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @seeorg.springframework.batch.core.domain.StepListener#beforeStep(org.
|
||||
* springframework.batch.core.domain.StepExecution)
|
||||
*/
|
||||
public void beforeStep(StepExecution stepExecution) {
|
||||
this.stepExecution = stepExecution;
|
||||
synchronized (lock) {
|
||||
@@ -150,15 +137,4 @@ public class StagingItemReader<T> implements ItemReader<ProcessIndicatorItemWrap
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see
|
||||
* org.springframework.batch.core.domain.StepListener#onErrorInStep(java
|
||||
* .lang.Throwable)
|
||||
*/
|
||||
public ExitStatus onErrorInStep(StepExecution stepExecution, Throwable e) {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -123,15 +123,4 @@ public class StagingItemWriter<T> extends JdbcDaoSupport implements StepExecutio
|
||||
this.stepExecution = stepExecution;
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see
|
||||
* org.springframework.batch.core.domain.StepListener#onErrorInStep(java
|
||||
* .lang.Throwable)
|
||||
*/
|
||||
public ExitStatus onErrorInStep(StepExecution stepExecution, Throwable e) {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user