BATCH-1594: remove non-existent override method

This commit is contained in:
dsyer
2010-07-09 11:06:12 +00:00
parent 8efa612480
commit 46bff7fbc1
3 changed files with 0 additions and 43 deletions

View File

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

View File

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

View File

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