Commit Graph

1226 Commits

Author SHA1 Message Date
Stian Soiland-Reyes c66ea98c0f
CSV-216 test mutators 2018-02-09 16:09:41 +00:00
Stian Soiland-Reyes 6eebeb0480
CSV-216: Avoid references to CSVMutableRecord
as mutator functions are directly in CSVRecord
2018-02-09 16:09:19 +00:00
Stian Soiland-Reyes bb949adbcb
CSV-216 add mutator functions
if the record is already mutable, they will return
the current object, otherwise a copy will be made
using private CSVMutableRecord subclass.

The method mutable() and immutable() can be used to ensure
either semantics.
2018-02-09 16:08:32 +00:00
Stian Soiland-Reyes c290f133cb
CSV-216: Javadoc of @param mutableREcords 2018-02-09 14:31:09 +00:00
Stian Soiland-Reyes d482fd289c
Merge branch 'master' into CSV-216 2018-02-09 14:19:48 +00:00
Gary Gregory eede739d18 Slightly better Javadoc. 2018-01-09 10:31:48 -07:00
pascalschumacher f3f48be1d0 Update to commons-parent version 43 2018-01-07 11:42:26 +01:00
Gary Gregory 3a2034434c [CSV-220] Add API
org.apache.commons.csv.CSVFormat.withSystemRecordSeparator().
2017-12-11 11:50:31 -07:00
Gary Gregory 34262e8c5e Sort methods. 2017-12-11 11:49:36 -07:00
Gary Gregory 4f58df6d4a Sort methods. 2017-12-11 11:42:09 -07:00
Gary Gregory 8b3de71fd9 [CSV-219] The behavior of quote char using is not similar as Excel does
when the first string contains CJK char(s).
[CSV-172] Don't quote cells just because they have UTF-8 encoded
characters.
2017-12-11 11:16:01 -07:00
ggregory e76c4d809c Update tests from Apache Commons Lang 3.6 to 3.7. 2017-12-10 16:27:09 -07:00
Gary Gregory c6cd6ce8ee Remove trailing white spaces on all lines. 2017-11-01 16:05:40 -06:00
Bruno P. Kinoshita 0051a83dcd Fix Javadocs typos 2017-10-22 00:13:22 +13:00
Gary Gregory 1521cc285d Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-csv.git 2017-10-20 17:27:45 -06:00
Gary Gregory 0e39fe3bed Update tests from Apache Commons IO 2.5 to 2.6. 2017-10-20 10:04:51 -06:00
Pascal Schumacher d20e5abaa3 travis: add java 9 to build (closes #23)
pom.xml: add java 9 profile and override jacoco version to make build pass
2017-10-12 22:41:08 +02:00
Gary Gregory 27cdc55728 findbugs-maven-plugin 3.0.4 -> 3.0.5. 2017-10-09 13:56:34 -06:00
Gary Gregory 0c216e783c Use final. 2017-10-09 13:43:02 -06:00
Gary Gregory b4a084ed48 [CSV-217] Add autoFlush option for CsvPrinter. Use current version of
Mockito.
2017-10-09 13:26:57 -06:00
Gary Gregory 5ca0f91ff6 Next version will be 1.6 due to new auto-flush feature just added. 2017-10-09 13:25:13 -06:00
Gary Gregory 3c0a73b30f [CSV-217] Add autoFlush option for CsvPrinter. Remove println() in test. 2017-10-09 13:24:47 -06:00
Gary Gregory 9c20341469 Next version will be 1.6 due to new auto-flush feature just added. 2017-10-09 13:23:46 -06:00
Korolyov Alexei 7e47152791 [CSV-217] Add autoFlush option for CsvPrinter. Applying modified patch
This closes #24.
2017-10-09 13:22:53 -06:00
Gary Gregory 10977ae1b2 Add version 1.6 to changes. 2017-10-09 13:10:23 -06:00
Bruno P. Kinoshita edb87f3a5e Update CSV 1.5 release date in changes.xml 2017-09-03 17:48:13 +12:00
Bruno P. Kinoshita 3e3c236562 Bump to next development version 2017-09-03 17:26:46 +12:00
Bruno P. Kinoshita f76a135705 Updated site in preparation for 1.5 release 2017-08-27 10:51:00 +12:00
Bruno P. Kinoshita 3894acc53e Updated RELEASE-NOTES.txt in preparation for 1.5 release 2017-08-27 10:51:00 +12:00
Bruno P. Kinoshita 067b046223 Update CONTRIBUTING.md for 1.5 release 2017-08-27 10:51:00 +12:00
Bruno P. Kinoshita 9479bfaaa9 Updated README.md for release 1.5 2017-08-27 10:51:00 +12:00
Bruno P. Kinoshita d032c24af9 Update NOTICE.txt copyright year for 1.5 release 2017-08-27 10:51:00 +12:00
Bruno P. Kinoshita 10671384f5 Update change log for release 1.5 2017-08-27 10:51:00 +12:00
Bruno P. Kinoshita 07101efb96 Update download page in preparation for 1.5 release 2017-08-27 10:51:00 +12:00
Bruno P. Kinoshita dfcd0793c0 Update version for Commons Csv release 1.5 2017-08-27 10:51:00 +12:00
Bruno P. Kinoshita 9d2b6d75c8 Add missing CSV test files to RAT report exclusions list 2017-08-27 10:31:03 +12:00
Bruno P. Kinoshita f7d7d63ee1 Fix last checkstyle error 2017-08-26 19:56:03 +12:00
Bruno P. Kinoshita 87b75e02a3 Fix checkstyle errors by replacing tabs by spaces 2017-08-26 19:55:38 +12:00
Gary Gregory 41101f1248 Javadoc. 2017-08-21 13:49:35 -06:00
Gary Gregory b23f963e8d [CSV-216] Allow for mutable CSV records. 2017-08-18 09:39:58 -06:00
Gary Gregory 259812ec0a Better ivar name. 2017-08-18 09:02:19 -06:00
Gary Gregory 431f8236e8 Remove useless and old SVN @version Javadoc tags. 2017-08-15 17:40:42 -06:00
Gary Gregory 299fdccfd6 Fix Checkstyle warnings: Remove trailing white spaces on all lines. 2017-08-11 15:15:27 -06:00
Gary Gregory aae6f90442 [CSV-214] Adding a placeholder in the Lexer and CSV parser to store the
end-of-line string. I applied the patch in spirit and made changes:
there is no need to use a boolean to track the state of the EOL String
(set vs. not set). I also allowed for CR to be saved as an EOL string
since we allow that already.
2017-08-11 15:05:27 -06:00
Gary Gregory 4d0f226006 Javadoc. 2017-08-10 13:00:42 -07:00
pascalschumacher bbf3ebe4bd Add default maven default goal (clean, test, clirr, rat and javadoc) and run it on travis. 2017-08-01 20:41:47 +02:00
pascalschumacher fb03b65150 Add test data files "optd_por_public.csv" and "999751170.patch.csv" to rat exclusions. 2017-08-01 20:38:31 +02:00
pascalschumacher fe5cf5c9d9 JiraCsv203Test and JiraCsv213Test: add missing license header 2017-08-01 20:33:40 +02:00
Pascal Schumacher 253bc8f14a Remove oraclejdk7 from travis configuration, because it is no longer available.
see: https://github.com/travis-ci/travis-ci/issues/7964#issuecomment-316769421 for details
2017-07-28 18:41:53 +02:00
Gary Gregory 2305e0e80c [CSV-213] CSVParser#iterator()#hasNext() fails. 2017-07-20 21:10:09 -07:00