Commit Graph

1603 Commits

Author SHA1 Message Date
Gary Gregory 589f822445 Use streams.
Remove unused imports.
2021-07-06 09:35:44 -04:00
Gary Gregory 9de125e4f1 Javadoc: Close HTML tags. 2021-07-05 16:39:58 -04:00
Gary Gregory c6c7676b56 Add PMD check to default goal and fix only 2 remaining PMD warnings. 2021-07-05 16:38:52 -04:00
Gary Gregory d8d080453e Add support for String delimiters #76.
Bump PMD core from 6.29.0 to 6.36.0. Fix rule set.
2021-07-05 12:06:07 -04:00
Gary Gregory b4b9a6bc0e Sort members. 2021-07-05 09:12:49 -04:00
Gary Gregory da4d2e5c2d Add and use CSVFormat.Builder, deprecated CSVFormat#with methods, based
on #73.

Better test method names and use @SuppressWarnings("deprecation").
2021-07-05 08:59:59 -04:00
Gary Gregory 37872b84d6 Missing separator with print(object) followed by printRecord(Object[])
#157.
2021-07-04 17:37:56 -04:00
Amar Prakash Pandey 2c83a30825
Fixed CSV-271 & Add testcase for new change (#157) 2021-07-04 17:35:02 -04:00
Gary Gregory 6a2376a906 Add and use CSVFormat.Builder, deprecated CSVFormat#with methods, based
on #73.
2021-07-04 13:19:43 -04:00
Gary Gregory dc5d034a47 Use try-with-resources. 2021-07-03 16:50:13 -04:00
Gary Gregory 5d16917835 Use try-with-resources. Better local var name. 2021-07-03 16:40:37 -04:00
Gary Gregory 858031d1a3 Clean up exception. 2021-07-03 16:38:57 -04:00
Gary Gregory bc5698b95d Organize imports. 2021-07-03 15:02:47 -04:00
Gary Gregory 6b718c32fe Update CSVParser.parse(File, Charset, CSVFormat) from IO to NIO. 2021-07-03 15:02:20 -04:00
Gary Gregory 8568e8865a Update CSVParser.parse(File, Charset, CSVFormat) from IO to NIO. 2021-07-03 15:01:54 -04:00
Gary Gregory 83ad213fdb [CSV-148] Add testcases about withIgnoreSurroundingSpaces() and
withTrim() #70.
2021-07-03 14:45:21 -04:00
Chen 238486dd77
[CSV-148] Add testcases about withIgnoreSurroundingSpaces() and withTrim() (#70) 2021-07-03 14:42:23 -04:00
Gary Gregory b271b21567 Minor Improvements #130. 2021-07-03 14:40:41 -04:00
Arturo Bernal 3f6357e8f4
Minor Improvement: (#130)
* System.arraycopy
* Remove redundant initializer
* Use empty array
2021-07-03 14:39:49 -04:00
Gary Gregory af84037189
Update JApiCmp from 0.14.3 to 0.15.3. 2021-07-03 11:46:21 -04:00
Gary Gregory 7b854306eb Bump opencsv from 5.2 to 5.4 #137. 2021-07-03 10:33:45 -04:00
dependabot[bot] 0839193828
Bump opencsv from 5.2 to 5.4 (#137)
Bumps opencsv from 5.2 to 5.4.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-03 10:33:08 -04:00
Gary Gregory bb6ad02cdc Bump jmh-generator-annprocess from 1.5.2 to 1.32 #151. 2021-07-03 10:32:54 -04:00
dependabot[bot] 4b73ea42c7
Bump jmh-generator-annprocess from 1.5.2 to 1.32 (#151)
Bumps jmh-generator-annprocess from 1.5.2 to 1.32.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-03 10:32:11 -04:00
Gary Gregory 02efd1604f # WARNING: head commit changed in the meantime
Add CSVParser#stream().

- Use JApiCmp instead of Clirr in the default goal.
- Allow for longer lines.
- Fix PMD custom rules for current version of PMD.
- Bump checkstyle from 8.29 to 8.44.
- Bump commons.javadoc.version from 3.2.0 to 3.3.0.
2021-07-03 10:31:46 -04:00
Gary Gregory ee9b09e750 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-csv.git 2021-07-03 09:30:29 -04:00
dependabot[bot] a3e75138b7
Bump jmh-core from 1.5.2 to 1.32 (#152)
Bumps jmh-core from 1.5.2 to 1.32.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-03 09:30:12 -04:00
Gary Gregory 3c16933fca Sort members. 2021-07-03 09:24:38 -04:00
Gary Gregory d1601d3fec Organize imports, simpler arrays, simpler if/else. 2021-07-03 09:13:51 -04:00
Gary Gregory a0fcf9a5a5 Use Stream.of() and rename new method to be like Collection#stream()
instead of toStream().
2021-07-03 09:11:25 -04:00
Gary Gregory 805d329bda Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-csv.git 2021-07-03 09:04:49 -04:00
Gary Gregory 594de09e2d Bump mockito-core from 3.7.7 to 3.11.2 #156. 2021-07-03 09:04:42 -04:00
dependabot[bot] 06df40e43b
Bump mockito-core from 3.7.7 to 3.11.2 (#156)
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.7.7 to 3.11.2.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.7.7...v3.11.2)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-03 09:03:44 -04:00
Gary Gregory 8e6eb0a289 Update my developer entry. 2021-07-01 11:32:12 -04:00
Gary Gregory a2e06fe45b Bump junit-jupiter from 5.7.1 to 5.7.2 #149. 2021-06-24 20:37:15 -04:00
dependabot[bot] 39c3f77da3
Bump junit-jupiter from 5.7.1 to 5.7.2 (#149)
Bumps [junit-jupiter](https://github.com/junit-team/junit5) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.1...r5.7.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-24 20:32:38 -04:00
Gary Gregory 6dad95b2ad Bump actions/cache from 2.1.4 to 2.1.6 #153. 2021-06-24 20:32:14 -04:00
dependabot[bot] 7b99bdcc2d
Bump actions/cache from 2.1.4 to 2.1.6 (#153)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.4 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.4...v2.1.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-24 20:31:26 -04:00
Gary Gregory 848c148b56 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-csv 2021-06-24 13:56:22 -04:00
Gary Gregory 934f214e96 Bump commons.jacoco.version from 0.8.5 to 0.8.7 (Java 16).
Bump commons.spotbugs.version from 4.0.4 to 4.2.3 (Java 16).
2021-06-24 13:56:01 -04:00
Gary Gregory 56d9c8d48f Add CSVRecord#toStream(). 2021-06-23 15:25:41 -04:00
Gary Gregory 2d6090b6dd Sort methods. 2021-06-23 15:14:08 -04:00
Gary Gregory f9f9feb80e [CSV-275] Make CSVRecord.toList() public. 2021-06-23 14:54:49 -04:00
Gary Gregory 00fcb06bb5 Update Apache Commons IO from 2.9.0 to 2.10.0. 2021-06-13 12:58:20 -04:00
Gary Gregory dc0686059a Replace Java 15 with Java 16 in Travis CI. 2021-06-06 10:43:03 -04:00
Gary Gregory b80eb6548f Update commons-io 2.8.0 -> 2.9.0. 2021-05-25 21:57:12 -04:00
Gary Gregory d3e74a7fb3 Add GitHub code of conduct page that points to the Apache page. 2021-05-16 17:02:54 -04:00
Gary Gregory bfdcad2a4f Update `actions/setup-java` to v2. 2021-04-19 09:13:34 -04:00
Gary Gregory a7117b8d40 Replace GitHub build for Java 15 with Java 16 and drop Java 16-ea. 2021-03-17 15:43:49 -04:00
Sebb 25aa2089f5 Remove Dummy extra line 2021-03-09 20:52:07 +00:00