From 4a70de4b4471e2cf4ad6ea70719c0dd799246d80 Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Sat, 23 Mar 2013 11:14:57 +0000 Subject: [PATCH] Remove trailing white spaces git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460125 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/commons/csv/CSVParserTest.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java index 28ebae26..495995c3 100644 --- a/src/test/java/org/apache/commons/csv/CSVParserTest.java +++ b/src/test/java/org/apache/commons/csv/CSVParserTest.java @@ -51,7 +51,7 @@ import org.junit.Test; * section. In case a test fails, you should follow a top-down approach for * fixing a potential bug (its likely that the parser itself fails if the lexer * has problems...). - * + * * @version $Id$ */ public class CSVParserTest { @@ -561,7 +561,7 @@ public class CSVParserTest { assertFalse(record.isSet("C")); assertEquals("1", record.get("A")); assertEquals("2", record.get("B")); - + // 2nd record record = records.next(); assertTrue(record.isMapped("A")); @@ -573,7 +573,7 @@ public class CSVParserTest { assertEquals("x", record.get("A")); assertEquals("y", record.get("B")); assertEquals("z", record.get("C")); - + assertFalse(records.hasNext()); } @@ -586,7 +586,7 @@ public class CSVParserTest { Assert.assertEquals("B", columnNames.next()); Assert.assertEquals("C", columnNames.next()); final Iterator records = parser.iterator(); - + // Parse to make sure getHeaderMap did not have a side-effect. for (int i = 0; i < 3; i++) { assertTrue(records.hasNext()); @@ -613,7 +613,7 @@ public class CSVParserTest { public void testGetLineNumberWithCR() throws Exception { validateLineNumbers(String.valueOf(CR)); } - + @Test public void testGetRecordNumberWithLF() throws Exception { validateRecordNumbers(String.valueOf(LF)); @@ -658,13 +658,13 @@ public class CSVParserTest { CSVRecord record; assertEquals(0, parser.getRecordNumber()); assertNotNull(record = parser.nextRecord()); - assertEquals(1, record.getRecordNumber()); + assertEquals(1, record.getRecordNumber()); assertEquals(1, parser.getRecordNumber()); assertNotNull(record = parser.nextRecord()); - assertEquals(2, record.getRecordNumber()); + assertEquals(2, record.getRecordNumber()); assertEquals(2, parser.getRecordNumber()); assertNotNull(record = parser.nextRecord()); - assertEquals(3, record.getRecordNumber()); + assertEquals(3, record.getRecordNumber()); assertEquals(3, parser.getRecordNumber()); assertNull(record = parser.nextRecord()); assertEquals(3, parser.getRecordNumber());