Commit Graph

483 Commits

Author SHA1 Message Date
Sebastian Bazley 96a55f1d2b Drop @Ignore from perf/PerformanceTest; instead add to pom surefire excludes
This makes it possible to run the test without needing to edit the source file.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397859 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 15:30:07 +00:00
Sebastian Bazley d99244287c Use locally stored big file as per perf/PerformanceTest
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397851 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 15:15:36 +00:00
Gary D. Gregory 992c0645e0 Rename ivar to ignoreEmptyLines to match CSVFormat.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397785 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 06:29:09 +00:00
Gary D. Gregory 3655efcedb Rename ivar to ignoreSurroundingSpaces to match CSVFormat.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397784 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 06:28:47 +00:00
Gary D. Gregory 50e2719bb6 Remove DISABLED character hack.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397783 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 06:27:52 +00:00
Gary D. Gregory dc7a71979d Rename constant.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397772 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 05:41:12 +00:00
Gary D. Gregory bb7d696218 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397771 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 05:39:15 +00:00
Gary D. Gregory ba609af7e3 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397770 13f79535-47bb-0310-9956-ffa450edef68
2012-10-13 05:30:00 +00:00
Gary D. Gregory 48b26f82f7 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397579 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 14:26:35 +00:00
Gary D. Gregory 9428b9cc1a Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397574 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 14:15:25 +00:00
Gary D. Gregory 8159aea6d1 Update CRLF to be easier to read.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397562 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 13:48:26 +00:00
Gary D. Gregory 883a0e91cf Allow performance test to traverse column values (optional).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397559 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 13:31:06 +00:00
Gary D. Gregory 53fd86dfbc More constants clean ups.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397556 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 13:15:30 +00:00
Gary D. Gregory b5c334222c Remove whitespace.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397549 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 12:58:29 +00:00
Gary D. Gregory 56ca5858db Refactor constants from various classes into a package private Constants class and use static imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397541 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 12:35:46 +00:00
Gary D. Gregory 9a27bb570d Refactor magic strings into constants.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397536 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 12:16:38 +00:00
Gary D. Gregory 66a56ee1a4 Refactor magic strings into constants.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397534 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 12:12:44 +00:00
Gary D. Gregory a5cd9dc1c5 Fix constant name.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397530 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 12:00:35 +00:00
Gary D. Gregory 5b6b1fa33c Refactor magic strings into constants.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397527 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 11:58:50 +00:00
Sebastian Bazley af4a695069 IO 2.4 requires Java 1.6
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397413 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 01:36:57 +00:00
Gary D. Gregory 625bafab76 Add CVSRecord.isSet(String) API.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397136 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 16:07:51 +00:00
Gary D. Gregory 6ab9b46e5a Use final keyword where possible.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397122 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 15:47:44 +00:00
Gary D. Gregory db374369ae Better performance tests. Provide a test CSV file to work with. Tests depends on Commons IO to help decompress the large-ish CSV test file.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397119 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 15:45:13 +00:00
Gary D. Gregory 3eededce88 Add CVSRecord.isMapped(String) API.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397094 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 14:56:16 +00:00
Gary D. Gregory 67bbc35289 Rename ivars that were in the past tense to use the imperative style.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397087 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 14:39:23 +00:00
Gary D. Gregory b5589d0fcb Remove whitespace.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397080 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 14:31:43 +00:00
Gary D. Gregory 3ea85d4c8b Replace magic char with constant TAB.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397078 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 14:30:04 +00:00
Gary D. Gregory 13092bad7d Replace magic char with constant DOUBLE_QUOTE.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397077 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 14:29:12 +00:00
Gary D. Gregory 4efb5ae19a Replace magic char with constant COMMA.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397074 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 14:27:56 +00:00
Gary D. Gregory 2ea171f2ed Remove extra parens.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397071 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 14:24:23 +00:00
Gary D. Gregory fccccfd095 Update to CP 27.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397060 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 14:02:42 +00:00
Gary D. Gregory 4bc562f47b Organize imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397059 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 14:02:33 +00:00
Gary D. Gregory 6359d220bd Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383942 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 13:49:05 +00:00
Gary D. Gregory 3cd5c85e8a [CVS-92] Need a way to extract parsed headers, e.g. for use in formatting output.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383934 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 13:41:06 +00:00
Gary D. Gregory 25f4b3e998 Sort methods in AB order.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383924 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 13:14:48 +00:00
Gary D. Gregory 473727be26 Rename ivar headerMapping -> headerMap.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383920 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 12:59:30 +00:00
Gary D. Gregory 7c86611ee4 Fix web site image reference.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383916 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 12:33:50 +00:00
Gary D. Gregory 5e7945e1ce Last of the Checkstyle fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383758 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 04:14:01 +00:00
Gary D. Gregory 57a1aef278 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383611 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 21:09:12 +00:00
Gary D. Gregory 6c1b0fa1c4 Fix Checkstyle: Format for 120 line length.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383598 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 20:12:27 +00:00
Gary D. Gregory 8608520aa1 Rename pname from 'tkn' to 'token'.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383583 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:47:51 +00:00
Gary D. Gregory 93fc1f9363 Fix Checkstyle: Format for 120 line length.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383582 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:47:15 +00:00
Sebastian Bazley a5d3d4ed7c Add assembly descriptors and plugin build reference
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383580 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:45:32 +00:00
Gary D. Gregory 42a4812bce Fix Checkstyle: File does not end with a newline.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383578 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:41:25 +00:00
Gary D. Gregory bf06bed9b8 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383577 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:40:37 +00:00
Gary D. Gregory 0638a37368 Match ASF headers to checkstyle.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383573 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:36:54 +00:00
Gary D. Gregory 6a132b40ab Match ASF headers to checkstyle.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383572 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:35:45 +00:00
Gary D. Gregory 97d59f8704 Replace empty throws that "should not happen" with an IllegalStateException.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383569 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:30:21 +00:00
Gary D. Gregory cc4cc4747e Remove extra blank line.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383567 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:25:12 +00:00
Gary D. Gregory e235b2a63c Refactor '\r' and '\n' into constants.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383564 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:17:25 +00:00