BATCH-958: cleanup

This commit is contained in:
trisberg
2008-12-11 23:38:47 +00:00
parent d1ec2cfa9e
commit b6d8bb7532
2 changed files with 4 additions and 22 deletions

View File

@@ -23,10 +23,8 @@ import java.util.List;
import javax.sql.DataSource;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.springframework.batch.repeat.support.RepeatSynchronizationManager;
import org.springframework.dao.EmptyResultDataAccessException;
import org.springframework.orm.ibatis.SqlMapClientTemplate;
@@ -83,7 +81,7 @@ public class IbatisBatchItemWriterTests {
if (this.bar.equals(compare.getBar())) {
return true;
}
return super.equals(obj);
return false;
}
@Override
@@ -93,11 +91,6 @@ public class IbatisBatchItemWriterTests {
}
/*
* (non-Javadoc)
*
* @see junit.framework.TestCase#setUp()
*/
@Before
public void setUp() throws Exception {
smc = createMock(SqlMapClient.class);
@@ -108,16 +101,6 @@ public class IbatisBatchItemWriterTests {
writer.afterPropertiesSet();
}
/*
* (non-Javadoc)
*
* @see junit.framework.TestCase#tearDown()
*/
@After
public void tearDown() throws Exception {
RepeatSynchronizationManager.clear();
}
/**
* Test method for
* {@link org.springframework.batch.item.database.JdbcBatchItemWriter#afterPropertiesSet()}