Commit Graph

1153 Commits

Author SHA1 Message Date
Benedikt Ritter ffb70548fe PMD: Remove useless parentheses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742468 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 20:02:35 +00:00
Benedikt Ritter 4e8c781b23 PMD: Remove useless parentheses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742467 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 20:00:16 +00:00
Benedikt Ritter cf1460b21e Simplify boolean expression: emptyHeader will always be true when reached.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742466 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 19:55:37 +00:00
Benedikt Ritter 4901f1ccdc Checkstyle: Operator should be on the previous line
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742464 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 19:52:09 +00:00
Benedikt Ritter d9d6a8fe04 Make parameters final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742462 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 19:49:32 +00:00
Benedikt Ritter 562b277bee Checkstyle: Line is too long
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742461 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 19:48:41 +00:00
Benedikt Ritter 3568bba22f Checkstyle: Line has trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742459 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 19:43:57 +00:00
Benedikt Ritter da77daf160 Add test CSV file for issue CSV-167 to RAT ignore (like all the other test CSV files)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742427 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 12:48:51 +00:00
Benedikt Ritter 554af4bc5c Access test data using the classloader instead of defining a file handle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742426 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 12:25:57 +00:00
Benedikt Ritter f99b7e7cba Add missing license header
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742419 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 12:14:30 +00:00
Benedikt Ritter 357562ba86 New structure for the user guide using subsections. More documentation on how to define headers.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742415 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 12:01:49 +00:00
Benedikt Ritter 3a3b4836e3 Drop senseless assertion
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742178 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 18:54:13 +00:00
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