Commit Graph

1985 Commits

Author SHA1 Message Date
Gary Gregory 5d9f00cc10 Better comment. 2021-10-22 10:44:24 -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
Gary Gregory c7541b6344 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-csv.git 2021-10-22 10:32:31 -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 dce2b54529 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-csv.git 2021-10-21 09:31:38 -04:00
dependabot[bot] 9d7f830fd4
Bump commons.pmd-impl.version from 6.37.0 to 6.39.0 (#189)
Bumps `commons.pmd-impl.version` from 6.37.0 to 6.39.0.

Updates `pmd-core` from 6.37.0 to 6.39.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.37.0...pmd_releases/6.39.0)

Updates `pmd-java` from 6.37.0 to 6.39.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.37.0...pmd_releases/6.39.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>
2021-10-21 09:31:30 -04:00
Gary Gregory 2665c83514 Bump checkstyle from 9.0 to 9.0.1 #190 2021-10-21 09:31:17 -04:00
dependabot[bot] d76824a34e
Bump checkstyle from 9.0 to 9.0.1 (#190)
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 9.0 to 9.0.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-9.0...checkstyle-9.0.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-10-21 09:30:48 -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
dependabot[bot] 507f07ed82
Bump maven-pmd-plugin from 3.14.0 to 3.15.0 (#184)
Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.14.0 to 3.15.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.14.0...maven-pmd-plugin-3.15.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-20 18:04:55 -04:00
dependabot[bot] 97334a1a91
Bump junit-jupiter from 5.8.0-RC1 to 5.8.1 (#186)
Bumps [junit-jupiter](https://github.com/junit-team/junit5) from 5.8.0-RC1 to 5.8.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.0-RC1...r5.8.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-20 18:04:33 -04:00
dependabot[bot] af73b1fa34
Bump mockito-core from 3.11.2 to 4.0.0 (#187)
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.11.2 to 4.0.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.2...v4.0.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:development
  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>
2021-10-20 18:04:15 -04:00
dependabot[bot] ef2a7fabf9
Bump actions/checkout from 2.3.4 to 2.3.5 (#188)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [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.4...v2.3.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-10-20 18:03:50 -04:00
Gary Gregory b5fa6a5ea9 Update GitHub build from Java 16 to 17.
Update GitHub build from Java 17-EA to 18-EA but comment it (not there
yet).
2021-09-28 11:05:46 -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
dependabot[bot] 2908d10b16
Bump commons.pmd-impl.version from 6.36.0 to 6.37.0 (#173)
Bumps `commons.pmd-impl.version` from 6.36.0 to 6.37.0.

Updates `pmd-core` from 6.36.0 to 6.37.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.36.0...pmd_releases/6.37.0)

Updates `pmd-java` from 6.36.0 to 6.37.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.36.0...pmd_releases/6.37.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>
2021-09-03 09:35:39 -04:00
dependabot[bot] d83f653c6f
Bump jmh-generator-annprocess from 1.32 to 1.33 (#175)
Bumps jmh-generator-annprocess from 1.32 to 1.33.

---
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-09-03 09:34:58 -04:00
dependabot[bot] 9f5d75b96b
Bump jmh-core from 1.32 to 1.33 (#176)
Bumps jmh-core from 1.32 to 1.33.

---
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-09-03 09:34:29 -04:00
dependabot[bot] 68deee4d1d
Bump junit-jupiter from 5.8.0-M1 to 5.8.0-RC1 (#179)
Bumps [junit-jupiter](https://github.com/junit-team/junit5) from 5.8.0-M1 to 5.8.0-RC1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.0-M1...r5.8.0-RC1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-03 09:34:02 -04:00
dependabot[bot] 2435285230
Bump checkstyle from 8.44 to 9.0 (#180)
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.44 to 9.0.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.44...checkstyle-9.0)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  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>
2021-09-03 09:32:01 -04:00
sebbASF c797b6109e
Typo 2021-08-29 18:10:29 +01:00
Gary Gregory 19cd322dba AdoptOpenJDK is moving to the Eclipse Foundation and rebranding as
Eclipse Temurin.
2021-08-29 00:25:02 -04:00
Gary Gregory d714ff63eb Update site for 1.9.0. 2021-07-31 08:31:59 -04:00
Gary Gregory 9482924309 Bump to next development version 2021-07-30 11:06:06 -04:00
Gary Gregory 8e25a2b30c Update POM version numbers for Apache release 1.9.0 2021-07-24 11:37:51 -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 a4e005fdf5 No need for separate Maven invocation to display version. Drop empty
lines.
2021-07-15 09:27:29 -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
belugabehr 0771927c8f
CSV-282: Document and Automate CSV Benchmark Harness (#166)
* CSV-282: Document and Automate CSV Benchmark Harness

* Editorial improvements
2021-07-13 20:21:10 -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