Commit Graph

1742 Commits

Author SHA1 Message Date
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 caa59a3c09 Add CodeQL badge. 2022-02-19 12:02:05 -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
dependabot[bot] 94711ebf25
Bump checkstyle from 9.2.1 to 9.3 (#217)
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 9.2.1 to 9.3.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-9.2.1...checkstyle-9.3)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-18 09:31:38 -05:00
Gary Gregory 74a8e8153e Inline Collections.sort(Comparator). 2022-02-13 11:27:23 -05:00
dependabot[bot] 075767a851
Bump taglist-maven-plugin from 2.4 to 3.0.0 (#215)
Bumps [taglist-maven-plugin](https://github.com/mojohaus/taglist-maven-plugin) from 2.4 to 3.0.0.
- [Release notes](https://github.com/mojohaus/taglist-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/taglist-maven-plugin/compare/taglist-maven-plugin-2.4...taglist-maven-plugin-3.0.0)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:taglist-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 08:37:25 -05:00
Gary Gregory fc8229c3dd Drop TravisCI badge. 2022-02-10 14:43:43 -05:00
Gary Gregory 019915bee2 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-csv.git 2022-02-06 10:03:09 -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
dependabot[bot] 4bab992065
Bump commons.pmd-impl.version from 6.41.0 to 6.42.0 (#214)
Bumps `commons.pmd-impl.version` from 6.41.0 to 6.42.0.

Updates `pmd-core` from 6.41.0 to 6.42.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.41.0...pmd_releases/6.42.0)

Updates `pmd-java` from 6.41.0 to 6.42.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.41.0...pmd_releases/6.42.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-04 07:54:08 -05:00
Gary Gregory 289065a203 Update NOTICE file for 2022. 2022-02-04 07:18:17 -05:00
Gary Gregory a470131a5c Add CodeQL GitHub workflow. 2022-02-03 06:54:39 -05:00
Gary Gregory 34417a5143 Bump h2 from 2.0.204 to 2.1.210 #213 2022-01-28 07:36:53 -05:00
dependabot[bot] bf9c466eb3
Bump h2 from 2.0.204 to 2.1.210 (#213)
Bumps [h2](https://github.com/h2database/h2database) from 2.0.204 to 2.1.210.
- [Release notes](https://github.com/h2database/h2database/releases)
- [Commits](https://github.com/h2database/h2database/compare/version-2.0.204...version-2.1.210)

---
updated-dependencies:
- dependency-name: com.h2database:h2
  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>
2022-01-28 07:36:05 -05:00
Gary Gregory 994407df29 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-csv 2022-01-28 07:34:39 -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
dependabot[bot] 261d960627
Bump mockito-core from 4.2.0 to 4.3.1 (#212)
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.2.0 to 4.3.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.2.0...v4.3.1)

---
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>
2022-01-28 07:33:43 -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
dependabot[bot] 443a96d3f2
Bump spotbugs-maven-plugin from 4.5.2.0 to 4.5.3.0 (#211)
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.5.2.0 to 4.5.3.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.5.2.0...spotbugs-maven-plugin-4.5.3.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-21 08:13:18 -05:00
Gary Gregory a2d67314ae Run dependabot once a week. 2021-12-29 12:00:28 -05:00
Gary Gregory 2f836b510e Bump jmh-core from 1.33 to 1.34 #208. 2021-12-28 13:54:12 -05:00
dependabot[bot] 7fd81912eb
Bump jmh-core from 1.33 to 1.34 (#208)
Bumps jmh-core from 1.33 to 1.34.

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-28 13:53:00 -05:00
Gary Gregory 7488881792 Bump checkstyle from 9.2 to 9.2.1 #207. 2021-12-27 08:42:24 -05:00
dependabot[bot] be2e9f658b
Bump checkstyle from 9.2 to 9.2.1 (#207)
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 9.2 to 9.2.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-9.2...checkstyle-9.2.1)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-27 08:41:45 -05:00
Gary Gregory e9e27fb2c5 Bump jmh-generator-annprocess from 1.33 to 1.34 #206. 2021-12-24 10:55:54 -05:00
dependabot[bot] a6de8fcae4
Bump jmh-generator-annprocess from 1.33 to 1.34 (#206)
Bumps jmh-generator-annprocess from 1.33 to 1.34.

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-24 10:54:48 -05:00
Gary Gregory 8a57ebbb2e Drop obsolete Travis build. 2021-12-23 08:49:53 -05:00
Gary Gregory c1d81fd9cf Bump h2 from 2.0.202 to 2.0.204 #205. 2021-12-23 08:07:38 -05:00
dependabot[bot] 26000e76c7
Bump h2 from 2.0.202 to 2.0.204 (#205)
Bumps [h2](https://github.com/h2database/h2database) from 2.0.202 to 2.0.204.
- [Release notes](https://github.com/h2database/h2database/releases)
- [Commits](https://github.com/h2database/h2database/compare/version-2.0.202...version-2.0.204)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-23 08:05:44 -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
dependabot[bot] b59f776a24
Bump mockito-core from 4.1.0 to 4.2.0 (#204)
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.1.0...v4.2.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-22 07:46:07 -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
dependabot[bot] 9ab54769e1
Bump spotbugs-maven-plugin from 4.5.0.0 to 4.5.2.0 (#203)
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.5.0.0 to 4.5.2.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.5.0.0...spotbugs-maven-plugin-4.5.2.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-22 07:29:07 -05:00
Gary Gregory f3809dd911 Javadoc. 2021-12-15 08:28:01 -05:00
Bruno P. Kinoshita dbecd03f8b Merge branch 'pr-191'
This closes #191
2021-12-15 23:00:36 +13:00
Bruno P. Kinoshita e3b29ca47c CSV-292: Changelog 2021-12-15 23:00:22 +13:00
Rob Vesse 32d59ce9b4 CSV-292: Add Automatic-Module-Name to JAR file
This allows for using Commons CSV in JPMS based projects that want to
declare a requirement on the org.apache.commons.csv module
2021-12-15 22:59:01 +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