Commit Graph

1976 Commits

Author SHA1 Message Date
Gary D. Gregory 51f226d0f8 Add org.apache.commons.csv.CSVParserTest.testGetOneLineOneParser(). See discussion in [CSV-110].
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1585492 13f79535-47bb-0310-9956-ffa450edef68
2014-04-07 14:31:03 +00:00
Gary D. Gregory 0f3b3367c3 Add org.apache.commons.csv.CSVParserTest.testGetOneLineOneParser(). See discussion in [CSV-110].
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1585491 13f79535-47bb-0310-9956-ffa450edef68
2014-04-07 14:29:32 +00:00
Gary D. Gregory 8e18054f3b Better ivar name.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1585096 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 14:06:43 +00:00
Gary D. Gregory 5daf49a180 Add API org.apache.commons.csv.CSVParser.getRecords(T).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1584936 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 23:28:17 +00:00
Gary D. Gregory c2ed3be44d Add API org.apache.commons.csv.CSVParser.getRecords(T).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1584903 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 20:44:46 +00:00
Gary D. Gregory 6b3afdc93d Clean up constant name.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1584893 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 20:30:02 +00:00
Sebastian Bazley 8e9dd9e158 Also check xml files for tabs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1582833 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 17:09:20 +00:00
Sebastian Bazley ffdfffb8f2 TRailing spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1582822 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 16:52:17 +00:00
Sebastian Bazley 7bba60a559 Ensure resources are released
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1582817 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 16:44:41 +00:00
Sebastian Bazley 9873b13df2 Don't omit default cases
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1582814 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 16:38:26 +00:00
Sebastian Bazley 1933f8abaf Avoid resource leak warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1582813 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 16:37:54 +00:00
Sebastian Bazley d6294bc598 Ignore test code boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1582812 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 16:37:35 +00:00
Sebastian Bazley 3a2cb6b308 Update Findbugs version
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1582790 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 16:08:33 +00:00
Gary D. Gregory 0fbefc96be Add some interesting ASCII codes to Constants class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1582481 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 21:22:59 +00:00
Gary D. Gregory e454d6847e Simplest behavior: null -> exception, like the other params.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578504 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 18:41:52 +00:00
Gary D. Gregory 5d5458d7f6 Simplest behavior: null -> exception, like the other params.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578502 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 18:40:58 +00:00
Gary D. Gregory c8630e103a Clean up tests for [CSV-107] CSVFormat.EXCEL.parse should handle byte order marks.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578397 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 14:32:38 +00:00
Gary D. Gregory 932b294410 Update Checkstyle and PMD.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578206 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 02:11:50 +00:00
Gary D. Gregory fcdf1f2efa Clean up tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578199 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 01:08:43 +00:00
Gary D. Gregory 3cb24cbdfb The charset can be null and will default to UTF-8.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578198 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 01:08:00 +00:00
Gary D. Gregory f3f34073ae Testing [CSV-107] CSVFormat.EXCEL.parse should handle byte order marks
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578197 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 01:06:17 +00:00
Gary D. Gregory c4f74756ff Testing [CSV-107] CSVFormat.EXCEL.parse should handle byte order marks
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578196 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 01:05:57 +00:00
Gary D. Gregory c473d87f23 The charset can be null and will default to UTF-8.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578191 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 00:50:55 +00:00
Gary D. Gregory 7b8cc87fd8 Format.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578189 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 00:48:01 +00:00
Gary D. Gregory fa3416da03 Sort methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578187 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 00:33:09 +00:00
Gary D. Gregory 73cc5246cf [CSV-106] CSVFormat.format always append null.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1577011 13f79535-47bb-0310-9956-ffa450edef68
2014-03-13 00:16:57 +00:00
Gary D. Gregory bf8f23c310 Sort in AB order.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1576750 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 14:29:33 +00:00
Gary D. Gregory 5d28695b99 Update to commons-parent 33.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1567668 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 16:06:12 +00:00
Gary D. Gregory 2414250b69 Fix generics issue.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1560399 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 16:07:23 +00:00
Gary D. Gregory 8ba293b934 Add @Test testRemoveAndAddColumns.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1560389 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 15:49:14 +00:00
Gary D. Gregory e3ffcc5cd7 Add accessor for out ivar.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1560384 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 15:27:35 +00:00
Gary D. Gregory 58233665d0 Sort methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1560382 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 15:25:22 +00:00
Gary D. Gregory 011510efbd Javdoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1560088 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 16:51:53 +00:00
Gary D. Gregory 228268310b Javadoc: use the active voice.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1560005 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 13:35:01 +00:00
Gary D. Gregory 7b27106237 Internal refactoring. If we have a toMap, a toList makes sense (which is already needed internally).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1560003 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 13:34:34 +00:00
Gary D. Gregory 5f9a1987ff Hide a method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1560001 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 13:30:35 +00:00
Gary D. Gregory 59411494e0 Use final.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1559908 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 02:44:30 +00:00
Gary D. Gregory d01e6b5421 [CSV-105] Add Map conversion API to CSVRecord.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1559905 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 02:12:02 +00:00
Gary D. Gregory 64de57a0bc Sort members.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1559898 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 01:55:23 +00:00
Gary D. Gregory 5ec59afdda Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1558889 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 19:07:07 +00:00
Gary D. Gregory b3553addb7 The local variable record is hiding a field from type CSVParser.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1558888 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 19:05:43 +00:00
Benedikt Ritter cb5de89971 Update copy right year
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1555108 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 14:30:50 +00:00
Sebastian Bazley 494adcb948 ASF Branding
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1534206 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 15:16:01 +00:00
Sebastian Bazley db83d51432 Must not advertise nightly builds to general public
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1526903 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 13:53:47 +00:00
Sebastian Bazley 28c0a36e24 Maven 2 also works
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1526902 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 13:52:46 +00:00
Gary D. Gregory 22601f647f [CSV-100] CSVParser: getHeaderMap throws NPE.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1524435 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 14:57:57 +00:00
Benedikt Ritter 2b5f84ede1 Document how to create CSVParsers via CSVFormat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1523213 13f79535-47bb-0310-9956-ffa450edef68
2013-09-14 11:13:22 +00:00
Benedikt Ritter 7982e227ae Make CSVFormat final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1523210 13f79535-47bb-0310-9956-ffa450edef68
2013-09-14 11:03:44 +00:00
Benedikt Ritter 08f1bbf914 Changes in toString broke test cases. Align test data to new toString implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522893 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 12:18:52 +00:00
Benedikt Ritter 32e1fb0ce0 Add output of the header array to toString implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522890 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 12:11:09 +00:00