Commit Graph

1976 Commits

Author SHA1 Message Date
Benedikt Ritter 9e3f3cccb2 Remove test method, escaping at EOF is already tested through testEscapingAtEOF()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460365 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 13:30:32 +00:00
Benedikt Ritter 3a1806ba26 Split up escape testing into separate methods, add escaping tests that should work after CSV-58 is resolved (currently ignored)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460364 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 13:29:22 +00:00
Benedikt Ritter 6b67a34b87 Sort methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460348 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 13:14:21 +00:00
Gary D. Gregory b01898391d Add a toBuilder method to do:
CSVFormat format = CSVFormat.EXCEL.toBuilder().withHeader("Col1", "Col2", "Col3").build();
Instead of:
CSVFormat format = CSVFormat.newBuilder(CSVFormat.EXCEL).withHeader("Col1", "Col2", "Col3").build();


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460255 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 02:03:16 +00:00
Gary D. Gregory 6b2a504564 Add a toBuilder method to do:
CSVFormat format = CSVFormat.EXCEL.toBuilder().withHeader("Col1", "Col2", "Col3").build();
Instead of:
CSVFormat format = CSVFormat.newBuilder(CSVFormat.EXCEL).withHeader("Col1", "Col2", "Col3").build();


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460254 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 02:02:11 +00:00
Gary D. Gregory 68f4892138 Fix { } formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460251 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 01:56:44 +00:00
Benedikt Ritter 3567ad0acc Use Utils class for comparing list of CSVRecords against expectation array
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460194 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 16:57:13 +00:00
Benedikt Ritter 2e543f41f3 Add some unit tests for escape handling in preparation for CSV-58
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460138 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 13:07:04 +00:00
Benedikt Ritter c4014b6b38 Method names should start with a verb
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460136 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 12:48:24 +00:00
Benedikt Ritter 9bafed6b23 Clarify JavaDoc for builder factory method, also remove trailing white spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460134 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 12:01:25 +00:00
Benedikt Ritter 77c6382ee5 Remove trailing white spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460132 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 11:49:00 +00:00
Benedikt Ritter 8989b6fc56 Add missing @Test annotation to testGetHeaderMap()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460126 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 11:16:54 +00:00
Benedikt Ritter 4a70de4b44 Remove trailing white spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460125 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 11:14:57 +00:00
Sebastian Bazley 3e8733b357 Fix up URLs so they point to actual sites; this allows relative URLs to work properly
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1459912 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 17:49:27 +00:00
Gary D. Gregory e28d4e9c2e Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1459447 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 18:47:40 +00:00
Gary D. Gregory 6e2c992072 content ivar can be final.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1459444 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 18:42:03 +00:00
Gary D. Gregory cdfa53530d Update site with better build info.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1459403 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 17:07:23 +00:00
Benedikt Ritter 3f0faa00ed Add missing JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1459020 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 19:52:27 +00:00
Benedikt Ritter b53a171ab3 Format lines that are longer than 120 characters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458805 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 12:43:43 +00:00
Benedikt Ritter 20fe471d40 Format lines that are longer than 120 characters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458803 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 12:42:37 +00:00
Benedikt Ritter c99e6d9ef6 Format lines that are longer than 120 characters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458797 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 12:40:33 +00:00
Benedikt Ritter 961cce294c Format lines that are longer than 120 characters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458794 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 12:39:18 +00:00
Benedikt Ritter 62a527636d Remove trailing white space
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458791 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 12:38:45 +00:00
Benedikt Ritter 2018c0c41f Replace accidentally checked in tab characters with spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458721 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 10:23:30 +00:00
Benedikt Ritter 5e0e7703a1 Format lines that are longer than 120 characters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458713 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 10:08:17 +00:00
Benedikt Ritter 374cd7b16d Remove trailing white spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458683 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 08:31:14 +00:00
Gary D. Gregory dca481f79c Sort members in AB order.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458639 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 05:24:27 +00:00
Gary D. Gregory 8f0d0e03d6 Add testRFC4180().
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458637 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 05:23:46 +00:00
Gary D. Gregory 6b1eaad5a6 Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458636 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 05:16:26 +00:00
Gary D. Gregory 0956f6e85d Use the same wording in Javadoc as in the API name: "empty".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458635 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 05:09:48 +00:00
Gary D. Gregory e2e8c2523c Fix spelling in Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458634 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 05:08:36 +00:00
Gary D. Gregory f656bb7cb6 Fix spelling in Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458633 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 05:07:05 +00:00
Gary D. Gregory 46b6a2de4c Fix Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458632 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 05:03:17 +00:00
Gary D. Gregory 35b707a5fc Update Checkstyle and PMD plugins.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458257 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 12:50:53 +00:00
Benedikt Ritter 14162cf5f5 Update to latest commons-parent pom
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458178 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 08:48:02 +00:00
Gary D. Gregory f6f02e5265 Fix formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458139 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 04:54:38 +00:00
Olivier Lamy bc1e1da91f restore download cgi
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1450540 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 23:54:04 +00:00
Sebastian Bazley f192d16a87 developed by => developed at
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1440692 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 21:43:00 +00:00
Gary D. Gregory 3b39c63e9c Update copyright for 2013.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1440632 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 20:03:27 +00:00
Gary D. Gregory 6447a82f35 JUnit 3 -> 4: replace import of junit.framework.Assert with org.junit.Assert.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1437517 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 16:00:03 +00:00
Gary D. Gregory 71a657004e Where possible:
- Add final modifier to private fields
- Add final modifier to method parameters
- Add final modifier to local variables

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1429926 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 18:00:46 +00:00
Gary D. Gregory 98bc368b31 Update JUnit to version 4.11 from 4.10.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1417456 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 14:49:17 +00:00
Sebastian Bazley 5d15c38eed Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1411923 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 23:27:49 +00:00
Sebastian Bazley e5a7b27224 More useful to have double-quote as a Character
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1411920 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 23:24:58 +00:00
Sebastian Bazley 713e9c5382 Make some methods package-protected to avoid the need for synthetic accessors.
TODO consider whether to do so for the fields as well

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1411919 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 23:22:21 +00:00
Sebastian Bazley 0e35052508 Correct name of character: it's not an escape, it's a backslash
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1411918 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 23:11:09 +00:00
Gary D. Gregory db11c04d29 [CSV-68] Use the Builder pattern for CSVFormat.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1410759 13f79535-47bb-0310-9956-ffa450edef68
2012-11-17 18:00:38 +00:00
Gary D. Gregory e4889167d2 Set Id SVN property.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1410084 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 22:46:56 +00:00
Gary D. Gregory 8b622677c6 Set Id SVN property.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1410082 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 22:45:24 +00:00
Gary D. Gregory 8886fac6d7 Set Id SVN property.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1410081 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 22:44:44 +00:00