Fix Java 5 compile

This commit is contained in:
Dave Syer
2010-12-06 17:33:13 +00:00
parent a72c28107c
commit 83ab17157f

View File

@@ -387,8 +387,6 @@ public class FlatFileItemReaderTests {
@Test
public void testMappingExceptionWrapping() throws Exception {
LineMapper<String> exceptionLineMapper = new LineMapper<String>() {
@Override
public String mapLine(String line, int lineNumber) throws Exception {
if (lineNumber == 2) {
throw new Exception("Couldn't map line 2");