Commit Graph

1964 Commits

Author SHA1 Message Date
Gary Gregory d7afefc766
Merge pull request #283 from apache/dependabot/maven/org.openjdk.jmh-jmh-generator-annprocess-1.36
Bump jmh-generator-annprocess from 1.35 to 1.36
2022-11-18 09:22:48 -05:00
Gary Gregory 4c70d5cf3f
Merge pull request #284 from apache/dependabot/maven/org.mockito-mockito-core-4.9.0
Bump mockito-core from 4.8.1 to 4.9.0
2022-11-18 09:22:32 -05:00
Gary Gregory 7e89a1a73a
Merge pull request #285 from apache/dependabot/maven/org.openjdk.jmh-jmh-core-1.36
Bump jmh-core from 1.35 to 1.36
2022-11-18 09:22:09 -05:00
dependabot[bot] 60bbe109dc
Bump jmh-core from 1.35 to 1.36
Bumps [jmh-core](https://github.com/openjdk/jmh) from 1.35 to 1.36.
- [Release notes](https://github.com/openjdk/jmh/releases)
- [Commits](https://github.com/openjdk/jmh/compare/1.35...1.36)

---
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-11-18 12:01:55 +00:00
dependabot[bot] f936dad1a9
Bump mockito-core from 4.8.1 to 4.9.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.8.1 to 4.9.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.1...v4.9.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>
2022-11-18 12:01:50 +00:00
dependabot[bot] bd8897aba2
Bump jmh-generator-annprocess from 1.35 to 1.36
Bumps [jmh-generator-annprocess](https://github.com/openjdk/jmh) from 1.35 to 1.36.
- [Release notes](https://github.com/openjdk/jmh/releases)
- [Commits](https://github.com/openjdk/jmh/compare/1.35...1.36)

---
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-11-18 12:01:44 +00:00
Gary Gregory 4f1d0d2c66 Javadocs and comments
Normalize spelling to "behavior"
2022-11-07 08:40:07 -05:00
Gary Gregory a2a35b4905 Bump pmd from 6.50.0 to 6.51.0 2022-10-30 12:02:13 -04:00
Gary Gregory f6389ad8d7
Bump actions/upload-artifact from 3.1.0 to 3.1.1 #280 2022-10-30 11:45:24 -04:00
Gary Gregory c5ac847b35
Merge pull request #280 from apache/dependabot/github_actions/actions/upload-artifact-3.1.1
Bump actions/upload-artifact from 3.1.0 to 3.1.1
2022-10-30 11:41:30 -04:00
Gary Gregory 4a865fd7f8 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-csv 2022-10-29 11:51:13 -04:00
dependabot[bot] 86186dd965 Bump opencsv from 5.7.0 to 5.7.1
Bumps opencsv from 5.7.0 to 5.7.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-29 08:29:37 +13:00
dependabot[bot] f17766f4b0
Bump actions/upload-artifact from 3.1.0 to 3.1.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](3cea537223...83fd05a356)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-28 12:01:50 +00:00
Gary Gregory 236b0f4f84 Add @SuppressWarnings("resource") in test as narrowly as possible 2022-10-26 10:12:58 -04:00
Gary Gregory 50f4525614 Fix compiler warning 2022-10-25 21:44:23 -04:00
Gary Gregory ed43bba32c Use final and lambda shorthand 2022-10-25 21:38:18 -04:00
Gary Gregory 0dd1bcc62e Organzie imports like the rest of CSV 2022-10-25 21:36:51 -04:00
Gary Gregory dab9420315
CSVParser: Identify duplicates in null, empty and blank header names #279 2022-10-25 21:24:56 -04:00
Gary Gregory 5a7b030537
Merge pull request #279 from aherbert/csvparser-duplicate-missing-headers
CSVParser: Identify duplicates in null, empty and blank header names (WIP)
2022-10-25 21:23:51 -04:00
aherbert 69aa686187 CSV-264: CSVParser identifies null, empty or blank headers as 'missing'
Duplicate missing header names are handled consistently between
CSVFormat and CSVParser.

Document that the ignore header case flag is for parser behaviour.

Update CSVDuplicateHeaderTest to add the ignore header case flag to
tests. Add test cases with case insensitive duplicates.
2022-10-25 22:25:16 +01:00
Gary Gregory 8ad07df0d4 Use try-with-resources 2022-10-23 16:59:56 -04:00
Gary Gregory 5d494a6fd6 Match comment to pinned commit 2022-10-23 15:13:03 -04:00
Gary Gregory cafb4d2f43 Update for Scorecards 2 2022-10-23 15:11:16 -04:00
Alex Herbert bd48a767cd CSVFormat: Sanitise empty headers to the empty string ""
Add more tests for duplicate headers including null header names.
2022-10-23 19:37:32 +01:00
Gary Gregory 481d8b1ff3
Update comment to match PR bump to 2.0.6 2022-10-23 14:12:45 -04:00
Gary Gregory 1b4e3af81a
Merge pull request #277 from apache/dependabot/github_actions/ossf/scorecard-action-2.0.6
Bump ossf/scorecard-action from 1.1.2 to 2.0.6
2022-10-23 13:53:53 -04:00
Gary Gregory de47291978 Test for empty/blank headers the same way for input and output 2022-10-23 09:09:26 -04:00
Gary Gregory b6c63e47d9 Update test case for cases that are only supported for parsing 2022-10-22 15:04:12 -04:00
Alex Herbert 4ddeddc2a1 Test javadoc updates and typos 2022-10-22 18:45:45 +01:00
Alex Herbert 1c0a8f12e6 Fix typo 2022-10-22 18:39:16 +01:00
Alex Herbert 24ffa7b4cf Add test for duplicate header names
Test the CSVFormat and CSVParser handle the headers consistently.

CSVParser handles all 36 cases.

CSFFormat fails 6 cases. These are currently disabled.
2022-10-22 18:23:31 +01:00
Gary Gregory 8d57c918ff Bump mockito-core from 4.8.0 to 4.8.1 2022-10-22 08:54:13 -04:00
Gary Gregory 3992019933 Javadoc and format tweaks 2022-10-22 08:52:41 -04:00
Gary Gregory 289ffa1627 Validates that a CSVFormat rejects empty header names 2022-10-22 08:38:52 -04:00
Gary Gregory 8fbf1b1acf Explicitly test a method JaCoCo says is not tested but should be 2022-10-22 07:50:16 -04:00
Alex Herbert 375cefcfe0 Add missing @Test annotations 2022-10-21 16:51:54 +01:00
Gary Gregory 2fff399d1a Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-csv.git 2022-10-21 08:59:22 -04:00
Gary Gregory b4799e799a Add testGetDuplicateHeaderMode() 2022-10-21 08:59:14 -04:00
Gary Gregory db16af9106 Sort member 2022-10-21 08:55:26 -04:00
dependabot[bot] 0829b0d7a1 Bump actions/setup-java from 3.5.1 to 3.6.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.5.1...v3.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-22 01:18:54 +13:00
Gary Gregory d19e44c88f Fill in the test coverage for getAllowDuplicateHeaderNames() to reflect
the _current_ behavior, right or wrong.
2022-10-21 08:17:15 -04:00
Gary Gregory 4e4f27029c Inline single use variable 2022-10-21 08:06:25 -04:00
dependabot[bot] 8d72b51dd6
Bump ossf/scorecard-action from 1.1.2 to 2.0.6
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 1.1.2 to 2.0.6.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](ce330fde6b...99c53751e0)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-21 12:01:20 +00:00
Gary Gregory da8bad9df0 Bump CSVFormat#serialVersionUID from 1 to 2
Javadoc Serialization in CSVFormat is not supported from one version to
the next.
2022-10-21 07:53:48 -04:00
Gary Gregory 37946b27c2 Reset POM version after merge from the release branch 2022-10-20 10:19:21 -04:00
Gary Gregory 669a2ca2b0 Add/fix missing Javadoc since tag 2022-10-16 13:44:28 -04:00
Gary Gregory 2d11aab733 Fix since tag 2022-10-16 13:42:00 -04:00
Gary Gregory 72ba42e3e7 Add missing code coverage 2022-10-16 13:41:47 -04:00
Gary Gregory 9134e957c0 Fix formatting 2022-10-16 13:35:34 -04:00
Gary Gregory fc2848b025 Enable some CSVPrinterTest tests
* testJira135_part1
* testJira135_part3
* testRandomPostgreSqlText
2022-10-16 13:27:10 -04:00