Commit Graph

1505 Commits

Author SHA1 Message Date
Gary Gregory 6a925abba3 Coalesce entries 2022-09-25 09:57:34 -04:00
Gary Gregory 50e831063c Bump japicmp-maven-plugin from 0.15.7 to 0.16.0 2022-09-24 11:31:48 -04:00
dependabot[bot] df01ca2faa Bump commons-parent from 53 to 54
Bumps [commons-parent](https://github.com/apache/commons-parent) from 53 to 54.
- [Release notes](https://github.com/apache/commons-parent/releases)
- [Changelog](https://github.com/apache/commons-parent/blob/master/RELEASE-NOTES.txt)
- [Commits](https://github.com/apache/commons-parent/commits)

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-parent
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-24 01:02:25 +12:00
dependabot[bot] 21e094d4f7 Bump junit-jupiter from 5.9.0 to 5.9.1
Bumps [junit-jupiter](https://github.com/junit-team/junit5) from 5.9.0 to 5.9.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.0...r5.9.1)

---
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>
2022-09-24 00:26:23 +12:00
Gary Gregory b5b3cca98b Move package-private method. 2022-09-12 12:50:16 -07:00
Gary Gregory d48bc1e6cf Remove redundant comments
Close HTML tags
2022-09-12 12:38:04 -07:00
Gary Gregory 5d7690d1fe Remove redundant comments 2022-09-12 12:37:06 -07:00
Gary Gregory 9a5f617ab9 Make package private class final
Allow no instances of some internal classes
2022-09-12 12:36:55 -07:00
Gary Gregory 379d17c983 Use forEach() 2022-09-12 11:18:55 -07:00
Gary Gregory 9644caf979 Use API instead of system property
Use final
2022-09-12 11:07:44 -07:00
Gary Gregory dd2aa771c9 Fix some compiler warnings 2022-09-12 11:00:59 -07:00
Gary Gregory 7e648a6e86 CSVParser.getRecords() now throws UncheckedIOException instead of
IOException
2022-09-12 10:53:09 -07:00
Gary Gregory 9797255331 Sort members 2022-09-12 09:53:28 -07:00
Gary Gregory 0dff1d5582 [CSV-304] Accessors for header/trailer comments #257 2022-09-12 09:45:28 -07:00
Gary Gregory 2e851bc960
Merge pull request #257 from pedro-w/csv-304-header-comments
[CSV-304] Accessors for header/trailer comments
2022-09-12 09:43:21 -07:00
Gary Gregory ee7b3a7d34
Fix formatting 2022-09-12 09:38:15 -07:00
Gary Gregory f926a300a1
Fix formatting 2022-09-12 09:36:27 -07:00
Gary Gregory 882884f28a
Fix formatting 2022-09-12 09:34:15 -07:00
Gary Gregory d6342202ae Bump com.github.spotbugs:spotbugs from 4.7.1 to 4.7.2 2022-09-12 09:31:11 -07:00
Gary Gregory 066c7dc696 Merge entries 2022-09-09 07:18:10 -07:00
Gary Gregory fb3205e878
Bump opencsv from 5.6 to 5.7.0 #260 2022-09-09 07:15:45 -07:00
Gary Gregory 4c05cd1e54
Bump maven-pmd-plugin from 3.18.0 to 3.19.0 #258 2022-09-09 07:12:17 -07:00
Gary Gregory 42483ac8f1
Bump mockito-core from 4.7.0 to 4.8.0 #259 2022-09-09 07:10:39 -07:00
Gary Gregory ac1500a7e3
Bump spotbugs-maven-plugin from 4.7.1.1 to 4.7.2.0 #261 2022-09-09 07:09:23 -07:00
Peter Hull 9c702bd405 Guard against NPE in createHeaders
Also, formatting and whitespace changes
as requested in code review.
2022-09-08 21:54:29 +01:00
Gary Gregory 6797536378 Add a test for broken input. 2022-09-07 09:17:42 -07:00
Peter Hull 82ca0355d4 Add @since annotation to javadoc
Also reworded some documentation text to read better
2022-09-07 08:58:29 +01:00
Peter Hull 0414d1e4b7 Split tests into separate methods
As requested in code review
2022-09-06 19:23:45 +01:00
Gary Gregory caa9e348ab Bump actions/checkout from 3 to 3.0.2. 2022-09-06 09:23:37 -07:00
Peter Hull 31a546adab [CSV-304] Accessors for header/trailer comments
Add accessors for header comments (before the header row)
and trailer comments (after the last record)
Also add javadoc and tests
2022-09-06 15:27:49 +01:00
Gary Gregory c51b595e34
Bump commons.pmd-impl.version from 6.48.0 to 6.49.0 #255 2022-09-02 08:44:49 -04:00
Gary Gregory 7ce338cdd5 Replace @since with @see 2022-08-30 11:12:54 -04:00
Gary Gregory c5bc93327c Bump maven-javadoc-plugin from 3.4.0 to 3.4.1. 2022-08-30 09:28:06 -04:00
dependabot[bot] 255164de9c Bump maven-checkstyle-plugin from 3.1.2 to 3.2.0
Bumps [maven-checkstyle-plugin](https://github.com/apache/maven-checkstyle-plugin) from 3.1.2 to 3.2.0.
- [Release notes](https://github.com/apache/maven-checkstyle-plugin/releases)
- [Commits](https://github.com/apache/maven-checkstyle-plugin/compare/maven-checkstyle-plugin-3.1.2...maven-checkstyle-plugin-3.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-27 10:59:08 +12:00
dependabot[bot] f2b7c0736f Bump maven-pmd-plugin from 3.17.0 to 3.18.0
Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.17.0 to 3.18.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.17.0...maven-pmd-plugin-3.18.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-08-27 10:57:53 +12:00
Gary Gregory 545f0670ee Use own API 2022-08-24 09:50:52 -04:00
Gary Gregory cce8f28fb9 Only clone header comments once 2022-08-24 09:42:11 -04:00
Gary Gregory 226628ab02 Bump actions/cache from 3.0.7 to 3.0.8 2022-08-22 15:20:52 -04:00
dependabot[bot] 0fd5302689 Bump mockito-core from 4.6.1 to 4.7.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.1...v4.7.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-08-20 08:46:24 +12:00
Gary Gregory 2236a52b19 Bump actions/cache from 3.0.6 to 3.0.7 2022-08-12 07:13:03 -04:00
Gary Gregory 18535aad5d The declared exception Exception is not actually thrown by the method 2022-08-11 09:32:03 -04:00
Gary Gregory 40682bf60e CSVRecord.toList() does not give write access to the new List 2022-08-10 05:52:28 -04:00
Gary Gregory e2c2fd40a5 CSVRecord.toList() does not give write access to the new List 2022-08-10 05:51:53 -04:00
Gary Gregory 532e08c3c4 Bump com.github.spotbugs:spotbugs 4.5.3 -> 4.7.1 2022-08-06 16:51:38 -04:00
Gary Gregory b449e1b829 Bump biz.aQute.bnd:biz.aQute.bndlib 6.2.0 -> 6.3.1 2022-08-06 16:48:32 -04:00
Gary Gregory 8f7e3a6682 Add CSVPrinter.printRecord[s](Stream). 2022-08-06 16:41:48 -04:00
Gary Gregory 0af5d428d6
Bump commons.pmd-impl.version from 6.47.0 to 6.48.0 #247 2022-08-05 08:54:27 -04:00
Gary Gregory 8077cdcf7f Bump actions/cache from 3.0.5 to 3.0.6 2022-08-05 08:33:30 -04:00
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