Commit Graph

1856 Commits

Author SHA1 Message Date
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 573eab776c Add same scorecards-analysis.yml as Apache Log4j (except for branches) 2022-09-12 09:53:37 -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
dependabot[bot] a06a4f624a
Bump opencsv from 5.6 to 5.7.0 (#260)
Bumps opencsv from 5.6 to 5.7.0.

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 07:12:33 -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
dependabot[bot] 0fd64203df
Bump maven-pmd-plugin from 3.18.0 to 3.19.0 (#258)
Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.18.0 to 3.19.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.18.0...maven-pmd-plugin-3.19.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 07:10:58 -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
dependabot[bot] e265ef0297
Bump mockito-core from 4.7.0 to 4.8.0 (#259)
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.7.0 to 4.8.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.7.0...v4.8.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 07:09:37 -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
dependabot[bot] 120ce4bc68
Bump spotbugs-maven-plugin from 4.7.1.1 to 4.7.2.0 (#261)
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.7.1.1 to 4.7.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.7.1.1...spotbugs-maven-plugin-4.7.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 07:08: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
dependabot[bot] bbb8515bcd
Bump commons.pmd-impl.version from 6.48.0 to 6.49.0 (#255)
Bumps `commons.pmd-impl.version` from 6.48.0 to 6.49.0.

Updates `pmd-core` from 6.48.0 to 6.49.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.48.0...pmd_releases/6.49.0)

Updates `pmd-java` from 6.48.0 to 6.49.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.48.0...pmd_releases/6.49.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 08:43:55 -04:00
Gary Gregory 8cbe591bf2 Use GAV coordinates Maven Central coordinates to make sure to pick up
the latest
2022-09-01 10:36:04 -04:00
Gary Gregory 66818f3ab6 Refer to master branch only and drop reference to trunk branch name 2022-09-01 07:52:34 -04:00
Gary Gregory b9b39a29ec Update code coverage badge and link 2022-08-30 16:47: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
Gary Gregory ce0de98636 Better CodeQL URL 2022-08-27 15:09:44 -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 563289d8a2 Update README to use the default Maven goal 2022-08-26 08:15:05 -04:00
Gary Gregory c4d666af8d Add pmd:cpd-check to Maven default goal 2022-08-24 10:11:46 -04:00
Gary Gregory 06eda6ecad Add pmd:cpd to Maven default goal 2022-08-24 10:06:52 -04: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