Stian Soiland-Reyes [Tue, 20 Feb 2018 11:32:40 +0000 (11:32 +0000)]
Warning about .clone()
See
https://lists.apache.org/thread.html/
e7c54a595325f1faf7c78b86e76c048c98a914fbb869b8f6d648e4f5@%3Cdev.commons.apache.org%3E
Stian Soiland-Reyes [Fri, 9 Feb 2018 16:49:51 +0000 (16:49 +0000)]
CSV-216: Avoid Arrays.copyOf()
as .clone() will do -- at least until someone tries to do
.withValue(x) in an out-of-range column
Stian Soiland-Reyes [Fri, 9 Feb 2018 16:42:01 +0000 (16:42 +0000)]
CSV-216: Avoid sharing CSVRecord.comment field
final modifiers to most methods
... not sure what CSVMutableRecord class is needed for now!
Stian Soiland-Reyes [Fri, 9 Feb 2018 16:09:41 +0000 (16:09 +0000)]
CSV-216 test mutators
Stian Soiland-Reyes [Fri, 9 Feb 2018 16:09:19 +0000 (16:09 +0000)]
CSV-216: Avoid references to CSVMutableRecord
as mutator functions are directly in CSVRecord
Stian Soiland-Reyes [Fri, 9 Feb 2018 16:07:45 +0000 (16:07 +0000)]
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.
Stian Soiland-Reyes [Fri, 9 Feb 2018 14:31:09 +0000 (14:31 +0000)]
CSV-216: Javadoc of @param mutableREcords
Stian Soiland-Reyes [Fri, 9 Feb 2018 14:19:48 +0000 (14:19 +0000)]
Merge branch 'master' into CSV-216
Gary Gregory [Tue, 9 Jan 2018 17:31:48 +0000 (10:31 -0700)]
Slightly better Javadoc.
pascalschumacher [Sun, 7 Jan 2018 10:42:26 +0000 (11:42 +0100)]
Update to commons-parent version 43
Gary Gregory [Mon, 11 Dec 2017 18:50:31 +0000 (11:50 -0700)]
[CSV-220] Add API
org.apache.commons.csv.CSVFormat.withSystemRecordSeparator().
Gary Gregory [Mon, 11 Dec 2017 18:49:36 +0000 (11:49 -0700)]
Sort methods.
Gary Gregory [Mon, 11 Dec 2017 18:42:09 +0000 (11:42 -0700)]
Sort methods.
Gary Gregory [Mon, 11 Dec 2017 18:16:01 +0000 (11:16 -0700)]
[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.
ggregory [Sun, 10 Dec 2017 23:27:09 +0000 (16:27 -0700)]
Update tests from Apache Commons Lang 3.6 to 3.7.
Gary Gregory [Wed, 1 Nov 2017 22:05:40 +0000 (16:05 -0600)]
Remove trailing white spaces on all lines.
Bruno P. Kinoshita [Sat, 21 Oct 2017 11:13:22 +0000 (00:13 +1300)]
Fix Javadocs typos
Gary Gregory [Fri, 20 Oct 2017 23:27:45 +0000 (17:27 -0600)]
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-csv.git
Gary Gregory [Fri, 20 Oct 2017 16:04:51 +0000 (10:04 -0600)]
Update tests from Apache Commons IO 2.5 to 2.6.
Pascal Schumacher [Mon, 2 Oct 2017 10:02:32 +0000 (12:02 +0200)]
travis: add java 9 to build (closes #23)
pom.xml: add java 9 profile and override jacoco version to make build pass
Gary Gregory [Mon, 9 Oct 2017 19:56:34 +0000 (13:56 -0600)]
findbugs-maven-plugin 3.0.4 -> 3.0.5.
Gary Gregory [Mon, 9 Oct 2017 19:43:02 +0000 (13:43 -0600)]
Use final.
Gary Gregory [Mon, 9 Oct 2017 19:26:57 +0000 (13:26 -0600)]
[CSV-217] Add autoFlush option for CsvPrinter. Use current version of
Mockito.
Gary Gregory [Mon, 9 Oct 2017 19:25:13 +0000 (13:25 -0600)]
Next version will be 1.6 due to new auto-flush feature just added.
Gary Gregory [Mon, 9 Oct 2017 19:24:47 +0000 (13:24 -0600)]
[CSV-217] Add autoFlush option for CsvPrinter. Remove println() in test.
Gary Gregory [Mon, 9 Oct 2017 19:23:46 +0000 (13:23 -0600)]
Next version will be 1.6 due to new auto-flush feature just added.
Korolyov Alexei [Mon, 9 Oct 2017 19:22:53 +0000 (13:22 -0600)]
[CSV-217] Add autoFlush option for CsvPrinter. Applying modified patch
This closes #24.
Gary Gregory [Mon, 9 Oct 2017 19:10:23 +0000 (13:10 -0600)]
Add version 1.6 to changes.
Bruno P. Kinoshita [Sun, 3 Sep 2017 05:48:13 +0000 (17:48 +1200)]
Update CSV 1.5 release date in changes.xml
Bruno P. Kinoshita [Sun, 3 Sep 2017 05:26:46 +0000 (17:26 +1200)]
Bump to next development version
Bruno P. Kinoshita [Sat, 26 Aug 2017 22:49:46 +0000 (10:49 +1200)]
Updated site in preparation for 1.5 release
Bruno P. Kinoshita [Sat, 26 Aug 2017 08:36:45 +0000 (20:36 +1200)]
Updated RELEASE-NOTES.txt in preparation for 1.5 release
Bruno P. Kinoshita [Sat, 26 Aug 2017 08:24:06 +0000 (20:24 +1200)]
Update CONTRIBUTING.md for 1.5 release
Bruno P. Kinoshita [Sat, 26 Aug 2017 08:21:48 +0000 (20:21 +1200)]
Updated README.md for release 1.5
Bruno P. Kinoshita [Sat, 26 Aug 2017 08:06:18 +0000 (20:06 +1200)]
Update NOTICE.txt copyright year for 1.5 release
Bruno P. Kinoshita [Sat, 26 Aug 2017 08:02:13 +0000 (20:02 +1200)]
Update change log for release 1.5
Bruno P. Kinoshita [Sat, 26 Aug 2017 07:58:54 +0000 (19:58 +1200)]
Update download page in preparation for 1.5 release
Bruno P. Kinoshita [Sat, 26 Aug 2017 07:58:02 +0000 (19:58 +1200)]
Update version for Commons Csv release 1.5
Bruno P. Kinoshita [Sat, 26 Aug 2017 22:31:03 +0000 (10:31 +1200)]
Add missing CSV test files to RAT report exclusions list
Bruno P. Kinoshita [Sat, 26 Aug 2017 07:33:27 +0000 (19:33 +1200)]
Fix last checkstyle error
Bruno P. Kinoshita [Sat, 26 Aug 2017 07:25:33 +0000 (19:25 +1200)]
Fix checkstyle errors by replacing tabs by spaces
Gary Gregory [Mon, 21 Aug 2017 19:49:35 +0000 (13:49 -0600)]
Javadoc.
Gary Gregory [Fri, 18 Aug 2017 15:39:58 +0000 (09:39 -0600)]
[CSV-216] Allow for mutable CSV records.
Gary Gregory [Fri, 18 Aug 2017 15:02:19 +0000 (09:02 -0600)]
Better ivar name.
Gary Gregory [Tue, 15 Aug 2017 23:40:42 +0000 (17:40 -0600)]
Remove useless and old SVN @version Javadoc tags.
Gary Gregory [Fri, 11 Aug 2017 21:15:27 +0000 (15:15 -0600)]
Fix Checkstyle warnings: Remove trailing white spaces on all lines.
Gary Gregory [Fri, 11 Aug 2017 21:05:27 +0000 (15:05 -0600)]
[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.
Gary Gregory [Thu, 10 Aug 2017 20:00:42 +0000 (13:00 -0700)]
Javadoc.
pascalschumacher [Tue, 1 Aug 2017 18:41:47 +0000 (20:41 +0200)]
Add default maven default goal (clean, test, clirr, rat and javadoc) and run it on travis.
pascalschumacher [Tue, 1 Aug 2017 18:38:31 +0000 (20:38 +0200)]
Add test data files "optd_por_public.csv" and "
999751170.patch.csv" to rat exclusions.
pascalschumacher [Tue, 1 Aug 2017 18:33:40 +0000 (20:33 +0200)]
JiraCsv203Test and JiraCsv213Test: add missing license header
Pascal Schumacher [Fri, 28 Jul 2017 16:41:53 +0000 (18:41 +0200)]
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
Gary Gregory [Fri, 21 Jul 2017 04:10:09 +0000 (21:10 -0700)]
[CSV-213] CSVParser#iterator()#hasNext() fails.
Gary Gregory [Fri, 21 Jul 2017 03:17:58 +0000 (20:17 -0700)]
Javadoc nits.
Gary Gregory [Fri, 21 Jul 2017 02:28:18 +0000 (19:28 -0700)]
PMD: Unnecessary use of fully qualified name 'Constants.EMPTY' due to
existing static import 'org.apache.commons.csv.Constants.EMPTY'
Gary Gregory [Fri, 21 Jul 2017 02:26:10 +0000 (19:26 -0700)]
Javadoc.
Gary Gregory [Fri, 21 Jul 2017 02:25:56 +0000 (19:25 -0700)]
Update Maven PMD and FindBugs plugins.
Gary Gregory [Fri, 21 Jul 2017 02:05:19 +0000 (19:05 -0700)]
Document Java platform requirment.
Gary Gregory [Mon, 17 Jul 2017 01:07:57 +0000 (18:07 -0700)]
Remove TZ from my dev entry.
TheRealHaui [Mon, 10 Jul 2017 20:27:32 +0000 (13:27 -0700)]
Add some tests from PR
https://patch-diff.githubusercontent.com/raw/apache/commons-csv/pull/19.
Closes #19.
Gary Gregory [Thu, 15 Jun 2017 05:52:11 +0000 (22:52 -0700)]
Update tests from H2 database 1.4.182 to 1.4.196.
Gary Gregory [Thu, 15 Jun 2017 05:51:02 +0000 (22:51 -0700)]
Update Apache Commons Lang 3.4 to 3.6.
Gary Gregory [Thu, 15 Jun 2017 05:44:09 +0000 (22:44 -0700)]
Update Apache Commons Lang 3.4 to 3.6.
Rob Tompkins [Sun, 28 May 2017 00:34:39 +0000 (20:34 -0400)]
(chore) adding commons.module.name to pom
Gary Gregory [Mon, 27 Mar 2017 20:06:53 +0000 (13:06 -0700)]
[CSV-207]
Provide a CSV Format for printing PostgreSQL CSV and Text formats.
Gary Gregory [Mon, 27 Mar 2017 19:17:03 +0000 (12:17 -0700)]
[CSV-203]
withNullString value is printed without quotes when QuoteMode.ALL is
specified; add QuoteMode.ALL_NON_NULL. PR #17.
Gary Gregory [Mon, 27 Mar 2017 19:16:34 +0000 (12:16 -0700)]
[CSV-203]
withNullString value is printed without quotes when QuoteMode.ALL is
specified; add QuoteMode.ALL_NON_NULL. PR #17.
Gary Gregory [Mon, 27 Mar 2017 19:13:09 +0000 (12:13 -0700)]
Fluent formatting.
Gary Gregory [Mon, 27 Mar 2017 19:03:53 +0000 (12:03 -0700)]
[CSV-203]
withNullString value is printed without quotes when QuoteMode.ALL is
specified; add QuoteMode.ALL_NON_NULL. PR #17.
Gary Gregory [Wed, 1 Feb 2017 19:18:57 +0000 (11:18 -0800)]
Javadoc fix.
Gary Gregory [Wed, 4 Jan 2017 07:55:29 +0000 (23:55 -0800)]
Update commons-parent from 41 to 42.
Gary Gregory [Fri, 23 Dec 2016 05:36:33 +0000 (21:36 -0800)]
[CSV-205]
Add convenience API CSVFormat#printer() to print to System.out.
Gary Gregory [Thu, 1 Dec 2016 21:27:40 +0000 (13:27 -0800)]
Rename test package org.apache.commons.csv.bugs to
org.apache.commons.csv.issues.
Gary Gregory [Thu, 1 Dec 2016 21:27:06 +0000 (13:27 -0800)]
Fix compiler warnings.
Gary Gregory [Thu, 1 Dec 2016 21:25:02 +0000 (13:25 -0800)]
Add JiraCsv198Test.
Gary Gregory [Sat, 26 Nov 2016 06:20:18 +0000 (22:20 -0800)]
Go back to parent POM 41. Next will be preparing a RC for parent POM 42.
Gary Gregory [Sat, 26 Nov 2016 06:15:38 +0000 (22:15 -0800)]
Edit (format nit) to kick off new Travis build to pick up new parent POM
snapshot.
Gary Gregory [Sat, 26 Nov 2016 06:07:56 +0000 (22:07 -0800)]
Edit (format nit) to kick off new Travis build to pick up new parent POM
snapshot.
Gary Gregory [Sat, 26 Nov 2016 05:59:19 +0000 (21:59 -0800)]
Actually do use the profile because the snapshot parent should not
activate bothz
Gary Gregory [Sat, 26 Nov 2016 05:50:31 +0000 (21:50 -0800)]
Profile kicks in automatically on Travis.
Gary Gregory [Sat, 26 Nov 2016 05:34:29 +0000 (21:34 -0800)]
Add -B -V to Maven invocation.
Gary Gregory [Sat, 26 Nov 2016 05:29:37 +0000 (21:29 -0800)]
Trying to get Travis CI to pass coverage Jacoco reports to Coveralls.
Will reset parent POM to 41 next.
Gary Gregory [Sat, 26 Nov 2016 05:23:36 +0000 (21:23 -0800)]
Set parent POM back to 41.
Gary Gregory [Sat, 26 Nov 2016 05:21:41 +0000 (21:21 -0800)]
Update version in Maven coordinates.
Gary Gregory [Sat, 26 Nov 2016 05:20:51 +0000 (21:20 -0800)]
Coveralls badge fix.
Gary Gregory [Sat, 26 Nov 2016 05:16:19 +0000 (21:16 -0800)]
See if Travis can pick up parent POM SNAPSHOT to validate the parent
profile.
Gary Gregory [Sat, 26 Nov 2016 05:12:53 +0000 (21:12 -0800)]
GroupId is duplicate of parent groupId.
Gary Gregory [Sat, 26 Nov 2016 05:11:57 +0000 (21:11 -0800)]
Use Jacoco instead per config file.
Gary Gregory [Sat, 26 Nov 2016 05:07:07 +0000 (21:07 -0800)]
commons-parent 40 -> 41.
Gary Gregory [Sat, 19 Nov 2016 04:34:41 +0000 (20:34 -0800)]
Add badges.
Gary Gregory [Wed, 16 Nov 2016 23:54:31 +0000 (15:54 -0800)]
Add starter TravisCI configuration.
Will pick up Travis profile from new parent module when released.
Gary Gregory [Tue, 25 Oct 2016 20:59:32 +0000 (13:59 -0700)]
[CSV-201] Do not use RuntimeException in CSVParser.iterator().new
Iterator() {...}.getNextRecord(). Use an IllegalStateException instead
(KISS for now, no need for a custom exception)
Gary Gregory [Tue, 23 Aug 2016 21:42:26 +0000 (14:42 -0700)]
Remove unused import.
Gary Gregory [Tue, 23 Aug 2016 21:42:06 +0000 (14:42 -0700)]
Remove unused import.
Gary Gregory [Tue, 23 Aug 2016 21:40:49 +0000 (14:40 -0700)]
org.apache.commons.csv.CSVFormat.print(Path, Charset) should use NIO and
not convert the Path to a File.
Gary Gregory [Tue, 23 Aug 2016 21:38:25 +0000 (14:38 -0700)]
CSVParser.parse(Path, Charset, CSVFormat) should use NIO and not convert
the Path to a File.
Gary Gregory [Tue, 23 Aug 2016 21:35:33 +0000 (14:35 -0700)]
[CSV-194] Fix outdated comments about FileReader in CSVParser #13.
Update changes.xml.
Gary Gregory [Tue, 23 Aug 2016 21:30:03 +0000 (14:30 -0700)]
Fix Javadoc for org.apache.commons.csv.CSVParser.parse(File, Charset,
CSVFormat). GitHub PR #13.
Gary Gregory [Tue, 23 Aug 2016 21:29:37 +0000 (14:29 -0700)]
Fix Javadoc for org.apache.commons.csv.CSVParser.parse(Path, Charset,
CSVFormat). GitHub PR #13.
Gary Gregory [Thu, 11 Aug 2016 22:30:39 +0000 (15:30 -0700)]
[CSV-193] Fix incorrect method name 'withFirstRowAsHeader' in user
guide.</action>