Commit Graph

1507 Commits

Author SHA1 Message Date
Gary Gregory 58fbc483f8
Bump spotbugs-maven-plugin from 4.7.1.0 to 4.7.1.1 #245 2022-07-29 08:28:45 -04:00
Gary Gregory 4204cd2a79
Bump junit-jupiter from 5.8.2 to 5.9.0 #244 2022-07-29 08:15:35 -04:00
dependabot[bot] 0455edb8eb Bump actions/cache from 3.0.4 to 3.0.5
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.4...v3.0.5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-16 10:10:04 +12:00
Gary Gregory e8f24e86bb Bump actions/cache 3.0.4 to 3.0.5 2022-07-15 08:33:28 -04:00
Gary Gregory 64b60e3713
Bump spotbugs-maven-plugin from 4.7.0.0 to 4.7.1.0 #242 2022-07-08 18:11:59 -04:00
dependabot[bot] 448579e22e Bump commons.pmd-impl.version from 6.46.0 to 6.47.0
Bumps `commons.pmd-impl.version` from 6.46.0 to 6.47.0.

Updates `pmd-core` from 6.46.0 to 6.47.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.46.0...pmd_releases/6.47.0)

Updates `pmd-java` from 6.46.0 to 6.47.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.46.0...pmd_releases/6.47.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-02 10:29:48 +12:00
Gary Gregory 8fd2407bf4
Bump h2 from 2.1.212 to 2.1.214 #239 2022-06-24 07:39:45 -04:00
dependabot[bot] 1227d0da91 Bump maven-pmd-plugin from 3.16.0 to 3.17.0
Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.16.0 to 3.17.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.16.0...maven-pmd-plugin-3.17.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-pmd-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-11 10:46:48 +12:00
Gary Gregory ce569c148b Bump actions/cache from 3.0.3 to 3.0.4 2022-06-07 13:55:26 -04:00
Gary Gregory b30772ef49 Organize 2022-06-07 13:55:15 -04:00
Gary Gregory 16c13807c8
Bump commons.pmd-impl.version from 6.45.0 to 6.46.0 #236 2022-06-03 11:03:30 -04:00
Gary Gregory 99cd420ad7
Bump mockito-core from 4.5.1 to 4.6.1 #237 2022-06-03 11:02:32 -04:00
Gary Gregory 2850581b01 Bump actions/cache from 3.0.2 to 3.0.3 2022-05-31 16:31:52 -04:00
Gary Gregory 7d3924c583 Bump maven-javadoc-plugin from 3.3.2 to 3.4.0 2022-05-22 07:57:45 -04:00
Gary Gregory ac3d876e3b Bump japicmp-maven-plugin from 0.15.3 to 0.15.7 2022-05-22 07:56:41 -04:00
Gary Gregory 15947702be Bump jacoco-maven-plugin from 0.8.7 to 0.8.8. 2022-05-22 07:54:45 -04:00
Gary Gregory 52d4dd7c41 Remove unused exceptions 2022-05-22 07:53:02 -04:00
Gary Gregory 0b868f25f2 Javadoc and don't use FQCN in throws clause. 2022-05-21 14:53:40 -04:00
dependabot[bot] ec0a18a20c Bump spotbugs-maven-plugin from 4.6.0.0 to 4.7.0.0
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.6.0.0 to 4.7.0.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.6.0.0...spotbugs-maven-plugin-4.7.0.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-21 10:30:32 +12:00
dependabot[bot] c9aaff86b0 Bump commons.pmd-impl.version from 6.44.0 to 6.45.0
Bumps `commons.pmd-impl.version` from 6.44.0 to 6.45.0.

Updates `pmd-core` from 6.44.0 to 6.45.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.44.0...pmd_releases/6.45.0)

Updates `pmd-java` from 6.44.0 to 6.45.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.44.0...pmd_releases/6.45.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-21 10:28:46 +12:00
Gary Gregory 279789bcb2
Bump github/codeql-action from 1 to 2 #231 2022-04-29 10:31:11 -04:00
Gary Gregory 1c551d9e7d
Bump mockito-core from 4.4.0 to 4.5.1 #230 2022-04-22 11:11:11 -04:00
dependabot[bot] 954e9eeb9f Bump jmh-core from 1.34 to 1.35
Bumps jmh-core from 1.34 to 1.35.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-16 13:03:14 +12:00
Gary Gregory ff8ad24ef8 >Bump h2 from 1.4.210 to 2.1.212 2022-04-15 07:22:23 -04:00
Gary Gregory 1914e7daae Bump actions/setup-java from 2 to 3 2022-04-15 06:56:32 -04:00
Gary Gregory 3450f8e62e Bump actions/cache from 3 to 3.0.2 2022-04-12 08:13:03 -04:00
Gary Gregory 2b09bdc44f Group some updates. 2022-04-12 08:12:42 -04:00
Gary Gregory 8db60a936d Bump commons-parent from 52 to 53.
Allow org.apache.commons.csv.IOUtils.copy(Reader, Appendable,
CharBuffer) to compile on Java 11 and run on Java 8.
2022-04-10 07:58:21 -04:00
dependabot[bot] dd75e11b07 Bump jmh-generator-annprocess from 1.34 to 1.35
Bumps jmh-generator-annprocess from 1.34 to 1.35.

---
updated-dependencies:
- dependency-name: org.openjdk.jmh:jmh-generator-annprocess
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 09:48:55 +12:00
dependabot[bot] 816930df4b Bump commons.pmd-impl.version from 6.43.0 to 6.44.0
Bumps `commons.pmd-impl.version` from 6.43.0 to 6.44.0.

Updates `pmd-core` from 6.43.0 to 6.44.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.43.0...pmd_releases/6.44.0)

Updates `pmd-java` from 6.43.0 to 6.44.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.43.0...pmd_releases/6.44.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 09:46:06 +12:00
Sebb 5942cea3e8 git-wip-us => gitbox 2022-04-05 11:36:51 +01:00
Gary Gregory a7febe87e3
Bump spotbugs-maven-plugin from 4.5.3.0 to 4.6.0.0 #225 2022-04-01 10:27:27 -04:00
Gary Gregory 6a7e9f9129
Bump actions/cache from 2.1.7 to 3 #223 2022-03-25 07:57:40 -07:00
Gary Gregory e5bbf9423f [CSV-295] Support for parallelism in CSVPrinter. 2022-03-10 17:25:32 -05:00
Gary Gregory 0c0676d7a6 Bump biz.aQute.bnd:biz.aQute.bndlib from 5.3.0 to 6.2.0. 2022-03-10 16:53:26 -05:00
Gary Gregory e9b0430ee1 Bump net.sourceforge.pmd:pmd-core from 6.42.0 to 6.43.0
Bump net.sourceforge.pmd:pmd-java from 6.42.0 to 6.43.0
2022-03-10 16:51:42 -05:00
Gary Gregory af6d1bb8ac Bump org.mockito:mockito-core from 4.3.1 to 4.4.0 2022-03-10 16:49:24 -05:00
Gary Gregory f8175e7c20 Bump opencsv from 5.5.2 to 5.6 #221 2022-03-04 09:16:30 -05:00
Gary Gregory e823cee770 Bump actions/checkout from 2 to 3 #220 2022-03-04 09:15:15 -05:00
Gary Gregory 6d56812583 Bump maven-pmd-plugin from 3.15.0 to 3.16.0 #219 2022-02-25 07:47:00 -05:00
Gary Gregory ee6f52c460 Use final. Use shorthand syntax for array creation. 2022-02-19 12:46:38 -05:00
Gary Gregory 489aaf2b84 Remove unused imports. 2022-02-19 12:44:52 -05:00
Gary Gregory d5d57ef66d Don't use a deprecated reference. 2022-02-19 12:44:03 -05:00
Gary Gregory c158188597 [CSV-269] CSVRecord.get(Enum) should use Enum.name() instead of
Enum.toString().
2022-02-19 12:36:24 -05:00
Gary Gregory 9e687fff30 Add reporter. 2022-02-19 12:16:03 -05:00
Gary Gregory 2bd221704b [CSV-264] Add DuplicateHeaderMode for flexibility with header
strictness. #114
2022-02-19 12:10:24 -05:00
Seth Falco 4fdfc59b1c
CSV-264: Added DuplicateHeaderMode for flexibility with header strictness. (#114)
* csv-264: added duplicateheadermode for flexibility with header strictness

* fix: use assertthrows and update docs
2022-02-19 12:07:44 -05:00
Gary Gregory aa96fd8a3d [CSV-288] String delimiter (||) is not working as expected. 2022-02-19 11:55:44 -05:00
Angus c15a06eee9
CSV-288 Fix for multi-char delimiter not working as expected (#218)
When checking if previous token is delimiter, isDelimiter(lastChar) unintentionally advance the buffer pointer. Also isDelimiter(lastChar) cannot handle multi-char delimiter. To fix this, create a new indicator isLastTokenDelimiter instead of using isDelimiter(lastChar), the indicator is set/reset in isDelimiter()
2022-02-19 11:53:11 -05:00
Gary Gregory 74a8e8153e Inline Collections.sort(Comparator). 2022-02-13 11:27:23 -05:00
Gary Gregory 40477cfae4 Bump commons.pmd-impl.version from 6.41.0 to 6.42.0 #214 2022-02-04 07:55:12 -05:00
Gary Gregory 34417a5143 Bump h2 from 2.0.204 to 2.1.210 #213 2022-01-28 07:36:53 -05:00
Gary Gregory 06113d25c4 Bump mockito-core from 4.2.0 to 4.3.1 #212 2022-01-28 07:34:33 -05:00
Gary Gregory 374bbe92f7
Bump spotbugs-maven-plugin from 4.5.2.0 to 4.5.3.0 #211 2022-01-21 08:14:14 -05:00
Gary Gregory 2f836b510e Bump jmh-core from 1.33 to 1.34 #208. 2021-12-28 13:54:12 -05:00
Gary Gregory 7488881792 Bump checkstyle from 9.2 to 9.2.1 #207. 2021-12-27 08:42:24 -05:00
Gary Gregory e9e27fb2c5 Bump jmh-generator-annprocess from 1.33 to 1.34 #206. 2021-12-24 10:55:54 -05:00
Gary Gregory c1d81fd9cf Bump h2 from 2.0.202 to 2.0.204 #205. 2021-12-23 08:07:38 -05:00
Gary Gregory 4973ef1f4d Bump spotbugs-maven-plugin from 4.5.0.0 to 4.5.2.0 #229 2021-12-22 07:48:17 -05:00
Gary Gregory 3117788ec0 Bump spotbugs-maven-plugin from 4.5.0.0 to 4.5.2.0 #203. 2021-12-22 07:30:33 -05:00
Gary Gregory f3809dd911 Javadoc. 2021-12-15 08:28:01 -05:00
Bruno P. Kinoshita e3b29ca47c CSV-292: Changelog 2021-12-15 23:00:22 +13:00
dependabot[bot] c3bba73dc4 Bump checkstyle from 9.1 to 9.2
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 9.1 to 9.2.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-9.1...checkstyle-9.2)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-04 14:47:59 +13:00
dependabot[bot] 15ef26ea09 Bump junit-jupiter from 5.8.1 to 5.8.2
Bumps [junit-jupiter](https://github.com/junit-team/junit5) from 5.8.1 to 5.8.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.1...r5.8.2)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 11:59:45 +13:00
dependabot[bot] 534dd2bc4e Bump h2 from 1.4.200 to 2.0.202
Bumps [h2](https://github.com/h2database/h2database) from 1.4.200 to 2.0.202.
- [Release notes](https://github.com/h2database/h2database/releases)
- [Commits](https://github.com/h2database/h2database/compare/version-1.4.200...version-2.0.202)

---
updated-dependencies:
- dependency-name: com.h2database:h2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 10:19:45 +13:00
dependabot[bot] 91ed16d093 Bump commons.pmd-impl.version from 6.40.0 to 6.41.0
Bumps `commons.pmd-impl.version` from 6.40.0 to 6.41.0.

Updates `pmd-core` from 6.40.0 to 6.41.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.40.0...pmd_releases/6.41.0)

Updates `pmd-java` from 6.40.0 to 6.41.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.40.0...pmd_releases/6.41.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 10:14:23 +13:00
dependabot[bot] 4851a98c7e Bump spotbugs-maven-plugin from 4.4.2.2 to 4.5.0.0
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.4.2.2 to 4.5.0.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.4.2.2...spotbugs-maven-plugin-4.5.0.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-25 11:29:29 +13:00
dependabot[bot] 70b89c9ff0 Bump actions/checkout from 2.3.5 to 2.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 14:06:04 +13:00
dependabot[bot] ebbd432f68 Bump actions/cache from 2.1.6 to 2.1.7
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 13:59:52 +13:00
dependabot[bot] 3b29b5a395 Bump mockito-core from 4.0.0 to 4.1.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.0.0...v4.1.0)

---
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>
2021-11-24 13:41:07 +13:00
Gary Gregory 1e5c7c3181 [CSV-291] Make CSVRecord#values() public. 2021-11-02 10:10:03 -04:00
Gary Gregory 27d102c315 Bump checkstyle from 9.0.1 to 9.1 #194. 2021-11-02 09:52:54 -04:00
Gary Gregory d4ede66e28 Bump spotbugs-maven-plugin from 4.3.0 to 4.4.2.2 #192 2021-11-02 09:51:43 -04:00
dependabot[bot] 1522c82e13 Bump commons.pmd-impl.version from 6.39.0 to 6.40.0
Bumps `commons.pmd-impl.version` from 6.39.0 to 6.40.0.

Updates `pmd-core` from 6.39.0 to 6.40.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.39.0...pmd_releases/6.40.0)

Updates `pmd-java` from 6.39.0 to 6.40.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.39.0...pmd_releases/6.40.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 10:00:51 +13:00
Gary Gregory a4d15bcab2 Bump opencsv from 5.5.1 to 5.5.2 #182. 2021-10-22 10:54:10 -04:00
Gary Gregory 36dd5361c9 Minor changes #172. 2021-10-22 10:33:49 -04:00
Gary Gregory 4d1290d1a0 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-csv.git 2021-10-22 10:33:29 -04:00
Arturo Bernal 4e90cdfdaf
* Replace For loop with map.forEach (#172)
* Use diamond type <>
* Extract commons expressions
2021-10-22 10:32:22 -04:00
Gary Gregory b517b7294f Bump commons.pmd-impl.version from 6.37.0 to 6.39.0 #189 2021-10-21 09:32:01 -04:00
Gary Gregory 2665c83514 Bump checkstyle from 9.0 to 9.0.1 #190 2021-10-21 09:31:17 -04:00
Gary Gregory 3fff72e495 Update some build dependencies.
- Bump actions/checkout from 2.3.4 to 2.3.5 #188
- Bump mockito-core from 3.11.2 to 4.0.0 #187
- Bump junit-jupiter from 5.8.0-RC1 to 5.8.1 #186
- Bump maven-pmd-plugin from 3.14.0 to 3.15.0 #184
2021-10-20 18:09:18 -04:00
Gary Gregory f6cdeac129 Bump checkstyle from 8.44 to 9.0 #180.
Bump junit-jupiter from 5.8.0-M1 to 5.8.0-RC1 #179.
Bump jmh-core from 1.32 to 1.33 #176.
Bump jmh-generator-annprocess from 1.32 to 1.33 #175.
Bump commons.pmd-impl.version from 6.36.0 to 6.37.0 #173.
2021-09-03 09:37:06 -04:00
sebbASF c797b6109e
Typo 2021-08-29 18:10:29 +01:00
Gary Gregory d714ff63eb Update site for 1.9.0. 2021-07-31 08:31:59 -04:00
Gary Gregory 0ec1e35ebe Preparing for RC. 2021-07-24 11:36:03 -04:00
Gary Gregory 6488ea250d Preparing for RC. 2021-07-24 11:33:40 -04:00
Gary Gregory 34f67f3fad Preparing for RC. 2021-07-24 11:32:40 -04:00
Gary Gregory 46f9211d60 Sort members. 2021-07-24 11:21:30 -04:00
Gary Gregory d7b1574483 [CSV-265] Update buffer position when reading line comment #120. 2021-07-21 10:42:12 -04:00
king-tyler a4c6037d0c
[CSV-265] Update buffer position when reading line comment (#120)
* [CSV-265] Add JiraCsv265Test

* [CSV-265] Update buffer position when reading line comment

* Update JiraCsv265Test.java

File should end in a new line.

Co-authored-by: Tyler King <tylerking001@hotmail.com>
Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
2021-07-21 10:37:53 -04:00
Gary Gregory 399204ce58 Bump opencsv from 5.5 to 5.5.1. 2021-07-20 10:19:20 -04:00
Gary Gregory a52925546a [CSV-286] Cleanup and Document Performance Test Harness #170. 2021-07-19 16:41:51 -04:00
belugabehr 0453989efe
CSV-286: Cleanup and Document Performance Test Harness (#170) 2021-07-19 16:39:29 -04:00
Gary Gregory 27843d8dc0 [CSV-278] Reuse Buffers in Lexer for Delimiter Detection #162. 2021-07-15 09:43:58 -04:00
belugabehr 3ac702b190
CSV-278: Reuse Buffers in Lexer for Delimiter Detection (#162)
* CSV-278: Reuse Buffers in Lexer for Delimiter Detection

* Remove erroneous tab character

* Reduce change set with fewer formatting changes

* Reduce change set with fewer formatting changes
2021-07-15 09:41:22 -04:00
Gary Gregory e74bd37a6d Formalize PerformanceTest #168. 2021-07-15 09:05:17 -04:00
belugabehr 47479b6305
CSV-284: Formalize PerformanceTest (#168)
* CSV-284: Formalize PerformanceTest

* Revert some changes
2021-07-15 09:03:51 -04:00
Gary Gregory a2ba9b5288 Bump spotbugs-maven-plugin from 4.2.3 to 4.3.0.
Fix SpotBugs Errors
- Error: Medium: org.apache.commons.csv.CSVParser.getHeaderNames() may
expose internal representation by returning CSVParser.headerNames
[org.apache.commons.csv.CSVParser] At CSVParser.java:[line 599]
EI_EXPOSE_REP
- Error: Medium: new org.apache.commons.csv.CSVParser(Reader, CSVFormat,
long, long) may expose internal representation by storing an externally
mutable object into CSVParser.format [org.apache.commons.csv.CSVParser]
At CSVParser.java:[line 433] EI_EXPOSE_REP2
- Error: Medium: new org.apache.commons.csv.CSVParser(Reader, CSVFormat,
long, long) may expose internal representation by storing an externally
mutable object into CSVParser.headerMap
[org.apache.commons.csv.CSVParser] At CSVParser.java:[line 437]
EI_EXPOSE_REP2
- Error: Medium: new org.apache.commons.csv.CSVParser(Reader, CSVFormat,
long, long) may expose internal representation by storing an externally
mutable object into CSVParser.headerNames
[org.apache.commons.csv.CSVParser] At CSVParser.java:[line 438]
EI_EXPOSE_REP2
- Error: Medium: new org.apache.commons.csv.CSVPrinter(Appendable,
CSVFormat) may expose internal representation by storing an externally
mutable object into CSVPrinter.format
[org.apache.commons.csv.CSVPrinter] At CSVPrinter.java:[line 100]
EI_EXPOSE_REP2

Suppresss SpotBugs Errors:
- Error: Medium: org.apache.commons.csv.CSVFormat$Predefined.getFormat()
may expose internal representation by returning
CSVFormat$Predefined.format [org.apache.commons.csv.CSVFormat$Predefined]
At CSVFormat.java:[line 758] EI_EXPOSE_REP
- Error: Medium: org.apache.commons.csv.CSVParser.iterator() may expose
internal representation by returning CSVParser.csvRecordIterator
[org.apache.commons.csv.CSVParser] At CSVParser.java:[line 690]
EI_EXPOSE_REP
- Error: Medium: org.apache.commons.csv.CSVRecord.getParser() may expose
internal representation by returning CSVRecord.parser
[org.apache.commons.csv.CSVRecord] At CSVRecord.java:[line 171]
EI_EXPOSE_REP
2021-07-14 11:29:27 -04:00
Gary Gregory bda783580a [CSV-279] Optimize Lexer Delimiter Check for One Character Delimiter
#163.
2021-07-13 20:25:19 -04:00
belugabehr f7c067d9b2
CSV-279: Optimize Lexer Delimiter Check for One Character Delimiter (#163) 2021-07-13 20:24:06 -04:00
Gary Gregory cdbc8925d9 [CSV-282] Document and Automate CSV Benchmark Harness #166. 2021-07-13 20:21:48 -04:00
Gary Gregory c640d162ba [CSV-283] Remove Whitespace Check Determines Delimiter Twice #167. 2021-07-13 20:18:04 -04:00
belugabehr d617b6720a
CSV-283: Remove Whitespace Check Determines Delimiter Twice (#167) 2021-07-13 20:16:59 -04:00
Gary Gregory dced5f77fe Update tests from commons-io:commons-io 2.10.0 to 2.11.0. 2021-07-13 17:47:20 -04:00
Gary Gregory 3627c5ae83 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-csv 2021-07-13 10:50:23 -04:00
Gary Gregory 8f80d2ca25 [CSV-281] Update CSVBenchmark #165. 2021-07-13 10:50:12 -04:00
belugabehr 10a9051682
CSV-281: Update CSVBenchmark (#165)
* CSV-281: Update CSVBenchmark

* Restore split Benchmark to use BufferedReader
2021-07-13 10:47:59 -04:00
Gary Gregory 3b959626f4 Better internal names. 2021-07-11 13:54:43 -04:00
Gary Gregory 8a5a0656d7 Use final. 2021-07-10 09:44:52 -04:00
Gary Gregory 66da39dd6f Better resource management. 2021-07-09 11:26:50 -04:00
Gary Gregory d1602acd6c Better resource management. 2021-07-09 11:24:46 -04:00
Gary Gregory b3daff2323 Better resource management. 2021-07-09 11:22:15 -04:00
Gary Gregory e06b8451f2 Better resource management. 2021-07-09 11:20:54 -04:00
Gary Gregory 5506bdb5cd Better name. 2021-07-09 11:19:41 -04:00
Gary Gregory f6f08321f6 Use Builder.
Don't declared unused exceptions in throw
2021-07-09 11:18:28 -04:00
Gary Gregory 5f605e613a Remove unused import. 2021-07-09 10:17:20 -04:00
Gary Gregory 5ccd1ed355 Update gitignore to ignore idea and vscode #160. 2021-07-09 10:08:26 -04:00
Gary Gregory 46bae4b99b Remove useless inline comments. 2021-07-08 20:18:51 -04:00
Gary Gregory ca5eb7cdbe Bump biz.aQute.bnd:biz.aQute.bndlib from 5.1.2 to 5.3.0. 2021-07-08 17:19:29 -04:00
Gary Gregory 171721ed35 Bump maven-javadoc-plugin from 3.2.0 to 3.3.0. 2021-07-08 17:16:26 -04:00
Gary Gregory f26a22a9a6 Test parsing an empty file.
- Sort members.
- Better constant name.
- Move RAT check to plugin management section to de-duplicate the
exclusion list.
2021-07-08 17:12:52 -04:00
Gary Gregory d608f55f0d File end in an EOL. 2021-07-08 15:29:46 -04:00
Gary Gregory ac280e705d [CSV-93] Allow the handling of NULL values.
- [CSV-253] Handle absent values in input (null).
- Cleaned up version of PR 77 from dota17 where:
- Don't duplicate two state items from the format.
- Use try-with-resources.
- Remove useless parens.
- Update Javaodc.
- Sort members in the new tests.
- Use builder.
2021-07-08 12:36:23 -04:00
Gary Gregory 4083b7a2a0 Use final. 2021-07-08 12:11:04 -04:00
Gary Gregory 6bfd380cb1 Use final. 2021-07-08 11:49:48 -04:00
Gary Gregory de4508c6c9 Replace JUnit assert by simpler but equivalent calls. #159. 2021-07-07 19:20:48 -04:00
Arturo Bernal c34e969d1e
Replace assert by simpler but equivalent calls. (#159) 2021-07-07 19:19:52 -04:00
Gary Gregory a4237345a1 [CSV-263] Print from Reader with embedded quotes generates incorrect
output.

- Resolve conflicts from PR #78 by Jason A. Guild.
- Don't use depreacted methods.
- Javadoc.
- Use final.
2021-07-07 19:18:12 -04:00
Gary Gregory 3dad2eef41 Refactor append calls into private methods for ongoing streaming work. 2021-07-07 18:59:07 -04:00
Gary Gregory 688e79c397 Bump junit-jupiter from 5.7.2 to 5.8.0-M1. 2021-07-07 18:50:29 -04:00
Gary Gregory 93a9affacf [CSV-158] Fix EOL checking for read array in ExtendedBufferedReader.
Clean up new test methods. Sort methods.
2021-07-07 08:43:55 -04:00
Alexander Bondarev a6ca4165a8
[CSV-158] Fix EOL checking for read array in ExtendedBufferedReader (#5)
* Fix eol checking for read array in ExtendedBufferedReader

* Add test for eol checking when reading to different buffers

Co-authored-by: mirasrael <d_signer@mail.ru>
Co-authored-by: Alexander Bondarev <alexander.bondarev@thomsonreuters.com>
2021-07-07 08:35:17 -04:00
Gary Gregory abfdf83f11 Add tests that print CSVRecords. 2021-07-06 13:11:43 -04:00
Gary Gregory 6d19cee13a Bump opencsv from 5.4 to 5.5 #158. 2021-07-06 09:36:57 -04:00
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