Gary Gregory
008269a7ea
Merge pull request #348 from gbidsilva/errorMessageFix
...
Error message fix
2023-08-30 08:39:57 -04:00
Gary Gregory
dbc418b9e7
Update CSVParser.java
2023-08-30 08:36:48 -04:00
gbidsilva
eaba341535
removing unwanted files
2023-08-30 17:08:12 +05:30
gbidsilva
9bde99040e
removing duplicated exception class name from error message
2023-08-30 17:04:54 +05:30
gbidsilva
f0391ea0d3
formatting changes
2023-08-30 13:30:40 +05:30
gbidsilva
b4abb0155e
Merge branch 'CSV-147' of https://github.com/gbidsilva/commons-csv-osc into CSV-147
2023-08-30 13:27:05 +05:30
gbidsilva
991763f52c
removing test file
2023-08-30 13:26:47 +05:30
Buddhi De Silva
1e8014b276
Merge branch 'apache:master' into CSV-147
2023-08-30 13:22:37 +05:30
gbidsilva
72ed67b29d
adding more details into the error message during the CSV parser issues
2023-08-30 13:21:53 +05:30
Gary Gregory
87529dea16
Javadoc
2023-08-26 08:06:55 -04:00
Gary Gregory
47ff95dbfc
[CSV-306][Javadoc] Add example to CSVFormat#setHeaderComments() #344
2023-08-25 10:11:06 -04:00
Gary Gregory
34aa41db55
Better description
2023-08-25 09:40:49 -04:00
Gary Gregory
5248168f59
Bump commons-parent from 59 to 60
2023-08-25 09:40:38 -04:00
Gary Gregory
852e892563
[Javadoc] Add example to CSVFormat#setHeaderComments() #344
2023-08-25 09:37:45 -04:00
Gary Gregory
082827ceef
Merge pull request #344 from gbidsilva/javaDocOptimization
...
[Javadoc] CSVFormat#setHeaderComments()
2023-08-25 09:35:59 -04:00
Gary Gregory
f1294a7a65
Fix copy pasta
2023-08-25 09:30:17 -04:00
Gary Gregory
a192e18471
Remove trailing whitespace
2023-08-25 09:29:00 -04:00
Gary Gregory
a8500ed54d
Fix grammar and errors
...
The example for the String[] API was wrong, it should pass only Strings, not a String and an Instant.
2023-08-25 09:23:13 -04:00
Gary Gregory
f4df552927
JAvadoc: Fix some grammar
2023-08-25 09:06:17 -04:00
gbidsilva
7b47b987e2
adding removed empty lines as originnaly present
2023-08-25 17:32:11 +05:30
gbidsilva
9fd815e442
removing mistakenly add block comment
2023-08-25 17:27:48 +05:30
gbidsilva
72dc36be77
changing the comment with template to be more meaningful
2023-08-25 17:22:37 +05:30
gbidsilva
e1f8da16d7
adding test file
2023-08-25 16:54:30 +05:30
Gary Gregory
e785c00f16
Javadoc
2023-08-25 07:14:35 -04:00
gbidsilva
7f277bc5f2
adding java doc optimization for method setHeaderComments()
2023-08-24 17:25:52 +05:30
Gary Gregory
3615094770
Bump commons-lang3 from 3.12.0 to 3.13.0
2023-07-28 18:11:22 -04:00
Gary Gregory
4087ef89ba
Bump commons-parent from 58 to 59
2023-07-28 10:08:39 -04:00
Gary Gregory
a36d8243fe
Reuse FileUtils in tests
2023-07-19 12:21:26 -04:00
Gary Gregory
17c9f9e501
Fix formatting
2023-07-08 09:21:08 -04:00
Gary Gregory
331177742f
Bump h2 from 2.1.214 to 2.2.220 #333
2023-07-07 08:21:45 -04:00
Gary Gregory
be24ad2f7f
[StepSecurity] ci: Harden GitHub Actions #330
2023-06-24 14:04:19 -04:00
Gary Gregory
fee76dcbed
[StepSecurity] ci: Harden GitHub Actions #329
2023-06-24 13:55:56 -04:00
Gary Gregory
1ec068e910
Add missing docs #328 .
2023-06-24 13:33:12 -04:00
Jakub Kupczyk
d3ef84e248
Rollback var extraction
2023-06-24 16:59:14 +02:00
Jakub Kupczyk
1da5a8b089
Fix typo, extract getHeaderMapRaw to var
2023-06-24 14:51:28 +02:00
Jakub Kupczyk
0d4bcdbb93
Add missing documentation
2023-06-24 14:50:41 +02:00
Gary Gregory
8f07f102a3
Document duplicate header behavior #309
2023-06-20 07:24:49 -04:00
Gary Gregory
bc61b750d8
Merge pull request #309 from SethFalco/header-docs
...
(doc): Document duplicate header behavior
2023-06-20 07:22:23 -04:00
Gary Gregory
1362956f53
Bump commons-io from 2.12.0 to 2.13.0
2023-06-07 20:05:48 -04:00
Gary Gregory
809b8368c6
Bump commons-parent from 57 to 58
2023-05-25 11:24:52 -04:00
Gary Gregory
e0a5749a8d
Bump commons-io:commons-io: from 2.11.0 to 2.12.0
2023-05-17 10:52:52 -04:00
Gary Gregory
4ca0556f6b
Format examples for fluent style
2023-05-01 08:57:23 -04:00
Gary Gregory
0bcdcfd466
Move entry to proper release
2023-05-01 08:44:15 -04:00
Bruno P. Kinoshita
2835005681
[CSV-306] Add pull request #325 to changes.xml
2023-05-01 12:25:34 +02:00
samabcde
5b6cba06e4
[CSV-306] followup to fix deprecated method in user guide
2023-05-01 13:23:36 +08:00
Gary Gregory
e0d366097c
[CSV-306] replace deprecated method in user guide, update external link #324
2023-04-30 08:22:38 -04:00
samabcde
133d221267
[CSV-306] replace deprecated method in user guide, update external link
2023-04-30 11:39:29 +08:00
Gary Gregory
5af74b956b
Bump commons-parent from 56 to 57 #323
2023-04-27 13:00:29 -04:00
Gary Gregory
5172fc8df8
Fix URL
2023-03-25 20:00:43 -04:00
Gary Gregory
df0ec859f2
Javadoc/Comments: Remove extra "whitespace"
2023-03-25 09:23:21 -04:00
Gary Gregory
71d14cb144
Use XSD
2023-03-13 08:09:49 -04:00
Seth Falco
7f335011ba
feat: document duplicate header behavior
2023-02-22 23:42:40 +00:00
Gary Gregory
481dc2b074
Add placeholder for next release
2023-02-03 08:15:37 -05:00
Gary Gregory
4ee216cd17
Prepare for release candidate
2023-01-28 12:38:43 -05:00
Gary Gregory
c69016a2a6
Sort members
2023-01-28 12:19:53 -05:00
Gary Gregory
f00b91b589
Add assert as sanity check
2023-01-28 12:19:41 -05:00
Gary Gregory
347c8723c0
Port some code from IO to NIO APIs
2023-01-27 16:15:11 -05:00
Gary Gregory
ecda2154de
Tests CSV-141 and PR 295
2023-01-21 14:37:35 -05:00
Gary Gregory
1269c133ff
Tests CSV-141 and PR 295
2023-01-21 14:35:28 -05:00
Gary Gregory
c22ff413ac
Revert "Add support for trailing text after the closing quote, for Excel compatibility."
...
This reverts commit ed0ca22321
.
2023-01-21 14:34:46 -05:00
Gary Gregory
d81528fb81
Revert "Add a setting that controls whether the last field on the last line, if quoted, has to have a closing quote before the file ends."
...
This reverts commit d0ea9e3a00
.
2023-01-21 14:34:46 -05:00
Gary Gregory
b1bdb99c42
Merge pull request #295 from DamjanJovanovic/master
...
Add support for trailing text after the closing quote, and EOF without a final closing quote, for Excel compatibility
2023-01-21 13:42:37 -05:00
Gary Gregory
8f17639c09
Fix typos
2023-01-15 08:00:20 -05:00
Gary Gregory
e22011fb97
POM project name should contain "Apache" prefix
2023-01-15 07:45:03 -05:00
Damjan Jovanovic
d0ea9e3a00
Add a setting that controls whether the last field on the last line,
...
if quoted, has to have a closing quote before the file ends.
2023-01-05 02:49:46 +02:00
Damjan Jovanovic
ed0ca22321
Add support for trailing text after the closing quote, for Excel compatibility.
2023-01-05 02:49:42 +02:00
Gary Gregory
ea8889b9fc
Bump commons-parent from 55 to 56 #298
2023-01-03 10:22:02 -05:00
Gary Gregory
4eb217085e
Bump mockito-core from 4.10.0 to 4.11.0 #297
2022-12-30 07:10:16 -05:00
Gary Gregory
2fa4807e08
Bump mockito-core from 4.9.0 to 4.10.0 #292
2022-12-16 11:21:49 -05:00
Gary Gregory
4319feb07a
Bump commons-parent from 54 to 55 #288
2022-12-11 16:52:30 -05:00
Gary Gregory
b2a1971280
Bump pmd from 6.51.0 to 6.52.0
2022-11-26 13:09:31 -05:00
Gary Gregory
d81b8e2bb4
Bump dependencies
...
Bump jmh-core from 1.35 to 1.36 #285
Bump mockito-core from 4.8.1 to 4.9.0 #284
Bump jmh-generator-annprocess from 1.35 to 1.36 #283
Bump spotbugs-maven-plugin from 4.7.2.1 to 4.7.3.0 #282
2022-11-18 09:25:36 -05: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
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
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
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
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
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
b4799e799a
Add testGetDuplicateHeaderMode()
2022-10-21 08:59:14 -04:00
Gary Gregory
db16af9106
Sort member
2022-10-21 08:55:26 -04: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
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