Commit Graph

1041 Commits

Author SHA1 Message Date
Benedikt Ritter 42afea88a1 Organize imports, don't use wildcard imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742177 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 18:53:21 +00:00
Benedikt Ritter b6f0655a71 CSV-179: Add shortcut method for using first record as header to CSVFormat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742175 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 18:43:33 +00:00
Benedikt Ritter 1813f2663d Add missing @since tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742174 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 18:33:36 +00:00
Benedikt Ritter 9ab47dc56b Move tests for specific issues to own package
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742173 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 18:28:54 +00:00
Benedikt Ritter 20eac694a0 Delegate to withHeader(String[]) instead of calling the long constructor directly
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742170 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 18:24:22 +00:00
Benedikt Ritter 4def868a8e CSV-180: Add withHeader(Class<? extends Enum>) to CSVFormat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742169 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 18:21:09 +00:00
Benedikt Ritter 04b36452dd Drop modifiers which are implied by the context
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742149 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 17:35:46 +00:00
Benedikt Ritter b8f37e2168 Fix JavaDoc errors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742147 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 17:32:06 +00:00
Benedikt Ritter 63ddb09152 Remove trailing white spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742145 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 17:29:04 +00:00
Benedikt Ritter 8cf9ff25a7 Update to latest commons-parent pom
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1741880 13f79535-47bb-0310-9956-ffa450edef68
2016-05-01 19:13:42 +00:00
Benedikt Ritter 0123e27875 Remove unused site documentation files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1741879 13f79535-47bb-0310-9956-ffa450edef68
2016-05-01 19:12:59 +00:00
Gary D. Gregory e802fe1cab Update tests from Apache Commons IO 2.4 to 2.5.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1740572 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 17:17:35 +00:00
Gary D. Gregory 16b9e2c791 [CSV-175] Support for ignoring trailing delimiter.
[CSV-177] Support trimming leading and trailing blanks.
[CSV-178] Create default formats for Informix UNLOAD and UNLOAD CSV.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1739694 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 06:16:51 +00:00
Gary D. Gregory 103995083c Sort members.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1739687 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 04:31:21 +00:00
Gary D. Gregory 4d2155ff40 [CSV-175] Add PIPE char for Informix WIP.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1739678 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:17:25 +00:00
Gary D. Gregory 4ca7b7a961 [CSV-175] Add PIPE char for Informix WIP.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1739677 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:16:32 +00:00
Gary D. Gregory 2210c0b02f Sort members.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1739676 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:15:38 +00:00
Gary D. Gregory 0685c8427b Format nits.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1739673 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:03:09 +00:00
Gary D. Gregory a4c1a85d9d Sort members.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1739672 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:02:03 +00:00
Gary D. Gregory ad38b2d28b Use final.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1739671 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:00:22 +00:00
Sebastian Bazley dd2cd54ff7 CSV-167
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1727810 13f79535-47bb-0310-9956-ffa450edef68
2016-01-31 13:10:10 +00:00
Sebastian Bazley 409feb2888 Doc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1727809 13f79535-47bb-0310-9956-ffa450edef68
2016-01-31 13:08:33 +00:00
Sebastian Bazley 72f78cc9d9 Oops, forgot to commit this
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1727808 13f79535-47bb-0310-9956-ffa450edef68
2016-01-31 12:59:00 +00:00
Sebastian Bazley 2465f5e8f6 CSV-167 Rename method and update Javadoc to correspond with reality
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1727766 13f79535-47bb-0310-9956-ffa450edef68
2016-01-30 23:40:26 +00:00
Sebastian Bazley 51049fd117 Fix test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1727538 13f79535-47bb-0310-9956-ffa450edef68
2016-01-29 11:29:09 +00:00
Gary D. Gregory 51b4bf371f Ignore experimental tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725444 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 06:21:35 +00:00
Gary D. Gregory c26c858b2e Update copyright for 2016 in NOTICE.txt
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725424 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 06:20:08 +00:00
Gary D. Gregory 82b6d2e7b4 [CSV-161] Fix Javadoc to say CSVFormat with() methods return a new CSVFormat.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725409 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 03:01:14 +00:00
Gary D. Gregory 8861157a56 [CSV-168] CsvFormat.nullString should not be escaped. [CSV-170]
CSVFormat.MYSQL nullString should be "\N".

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725408 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 02:38:09 +00:00
Gary D. Gregory f8b80e8341 [CSV-168] CsvFormat.nullString should not be escaped. [CSV-170]
CSVFormat.MYSQL nullString should be "\N".

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725407 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 02:34:19 +00:00
Gary D. Gregory 913e4a8b97 Better Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725400 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 01:04:38 +00:00
Gary D. Gregory 70185baec0 Copyright 2002-2016 The Apache Software Foundation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725364 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 22:22:14 +00:00
Gary D. Gregory 5206b2a244 [CSV-169] The null string should be case-sensitive when reading records. Also simplify branch test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725358 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 22:02:05 +00:00
Gary D. Gregory 446eaf8c2a Format.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725356 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 21:37:46 +00:00
Gary D. Gregory c52b1f0a9d FindBugs: Avoid possible NPE.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725345 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 20:54:16 +00:00
Gary D. Gregory 453cfcbb59 Use final.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725344 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 20:52:21 +00:00
Gary D. Gregory 54597a8b8e Unit test for [CSV-167] Comment line hides next record.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1721778 13f79535-47bb-0310-9956-ffa450edef68
2015-12-27 00:02:30 +00:00
Gary D. Gregory ce9768fb0c Update javancss-maven-plugin 2.0 -> 2.1.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1721775 13f79535-47bb-0310-9956-ffa450edef68
2015-12-26 23:42:00 +00:00
Gary D. Gregory fbc6196744 findbugs-maven-plugin 3.0.2 -> 3.0.3.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1721774 13f79535-47bb-0310-9956-ffa450edef68
2015-12-26 23:38:54 +00:00
Gary D. Gregory 6b069cf443 Fix PMDs: Unnecessary use of fully qualified name 'Constants.END_OF_STREAM' due to existing static import 'org.apache.commons.csv.Constants.END_OF_STREAM'.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1721770 13f79535-47bb-0310-9956-ffa450edef68
2015-12-26 22:44:01 +00:00
Gary D. Gregory 290fdff050 Update maven-pmd-plugin 3.5 -> 3.6.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1721768 13f79535-47bb-0310-9956-ffa450edef68
2015-12-26 22:43:07 +00:00
Gary D. Gregory af949550d0 maven-checkstyle-plugin 2.16 -> 2.17.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1721766 13f79535-47bb-0310-9956-ffa450edef68
2015-12-26 22:38:17 +00:00
Sebastian Bazley 65cc3ed90b Collect the DOAPs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1718920 13f79535-47bb-0310-9956-ffa450edef68
2015-12-09 17:32:04 +00:00
Gary D. Gregory e7d9ab0f6a TODO.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1715921 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 19:10:36 +00:00
Gary D. Gregory e0f022ee94 More tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1715712 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 22:03:06 +00:00
Gary D. Gregory bae5752644 commons-parent 38 -> 39.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1711110 13f79535-47bb-0310-9956-ffa450edef68
2015-10-28 19:26:10 +00:00
Gary D. Gregory d54b339caa [CSV-159] Add IgnoreCase option for accessing header names
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1708685 13f79535-47bb-0310-9956-ffa450edef68
2015-10-14 19:48:29 +00:00
Benedikt Ritter 2f76dfabd1 Add github badges to README.md instead of CONTRIBUTING.md
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1706560 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 12:17:53 +00:00
Benedikt Ritter c20cd95c1c Add badges for github.
Further more this closes #2 from github because it has already been
fixed in revision 1602206.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1706543 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 10:56:55 +00:00
Benedikt Ritter 3b10c8f8ac CSV-153: CSVPrinter doesn't skip creation of header record if skipHeaderRecord is set to true. Thanks to Wren. This also fixes #8 from github.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1706542 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 10:46:49 +00:00