Commit Graph

1806 Commits

Author SHA1 Message Date
Gary Gregory dfd58d8a94 More lambdas, less boilerplate. 2019-09-12 20:58:07 -04:00
Gary Gregory 2f1ac70815 Update properties for the next release. 2019-09-09 20:41:53 -04:00
Gary Gregory 09f4bed945 Revert change to commons.componentid. 2019-09-09 20:41:07 -04:00
Gary Gregory d4ceb0a125 Point to the Java 8 Javadocs. 2019-09-09 15:26:04 -04:00
Gary Gregory 1141e9b2be Set component ID to commons-csv. 2019-09-09 15:20:36 -04:00
Gary Gregory 1a7c614082 Sort members. 2019-09-04 10:32:51 -04:00
Gary Gregory f62fd132d0 [CSV-236] Allow duplicate headers in CSV File.
Add test.
2019-09-04 09:54:49 -04:00
Gary Gregory c203896177 Sort members. 2019-09-04 09:54:03 -04:00
Sebb d9745feba3 git-wip-us => gitbox 2019-08-16 18:34:19 +01:00
Gary Gregory 6f174399b6 Use test scope for supercsv #48. 2019-08-14 11:39:22 -07:00
sullis 363dd18906 use [test] scope for supercsv (#48) 2019-08-14 11:38:10 -07:00
Gary Gregory f740643e53 Drop Oracle JDK 8 since it is not supported anymore. 2019-08-14 11:37:52 -07:00
Gary Gregory 876c4fc865 Fix the site's source repository link. 2019-07-21 16:50:43 -04:00
Gary Gregory 909161ce72 Replace SVN with GitBox URL. 2019-07-07 10:31:08 -04:00
Gary Gregory 31fb58d37b Use HTTPS to access Apache resources. 2019-07-06 20:59:49 -04:00
Gary Gregory d06d048063 Use HTTPS to access Apache resources. 2019-07-06 20:41:48 -04:00
Gary Gregory 7e669566df Use HTTPS links to Apache. 2019-07-04 10:00:21 -04:00
Sebb 7754cd4c84 CSV-135 - Char escape doesn't work properly with quoting 2019-06-16 21:24:26 +01:00
Sebb f7c2ca2166 CSV-135 - Char escape doesn't work
Ensure escape chars are escaped when using quote mode
2019-06-16 21:16:17 +01:00
Sebb 53fa8ad356 Show quote mode if not null 2019-06-16 17:07:02 +01:00
Sebb c025d73d31 CSV235 - WRONG Implementation for RFC4180
Show that implementation is actually correct
2019-06-16 13:44:04 +01:00
Sebb bc64fb569c CSV-243 CSVFormat withTrim() and withIgnoreSurroundingSpaces()
need better docs
2019-06-16 12:51:00 +01:00
Gary Gregory 8b6cfb21bb [CSV-245] Post 1.7 release fixes. 2019-06-15 13:55:50 -04:00
Alex Herbert 03550ab565 Post release fixes (#44)
* Fix checkstyle: remove tabs
* Fix checkstyle: Split long line
* Fix checkstyle: exclude pom.properties
* Update findbugs to allow deliberate fall-through
* Fix pmd: Remove ternary operator returning false
* Fix pmd: Remove implicit final
* Fix pmd: Ignore TooManyStaticImports.

This requires adding the default ruleset and then modifying with
suppressions.

* Add tests to cover use of the IOUtils class.

Requires the CSVFormat to have no quote or escape character, and the
formatted value to be a java.io.Reader.

* Clean-up findbugs exclude filter.
* Removed unused import
* Updated test comments for print tests targeting IOUtils.
* Fix checkstyle: Suppress line length warning in CSVParser.
2019-06-15 13:52:44 -04:00
Sebb 42b9fdb099 CSV-244 Test case failures following CSVFormat#equals() update 2019-06-15 14:29:30 +01:00
Gary Gregory 0279beaba0 Javadoc. 2019-06-14 20:24:59 -04:00
Gary Gregory 2a6bcc1f73 Fix odd local variable names. 2019-06-14 20:24:15 -04:00
Gary Gregory 50d727fc64 End descriptions with a period. 2019-06-14 20:19:22 -04:00
Sebb dd5de38072 CSV-243 CSVFormat withTrim() and withIgnoreSurroundingSpaces()
need better docs
2019-06-14 22:56:30 +01:00
Sebb ed8602db29 Typo 2019-06-14 22:52:41 +01:00
Sebb 7ddc71c20a Wrong method name 2019-06-14 17:22:32 +01:00
Sebb c683594f59 CSV-242 CSVFormat equals() and hashCode() don't use all fields
Fix hashCode()
2019-06-14 17:21:33 +01:00
Sebb 46c84341e6 Document change to test behaviour 2019-06-14 17:14:54 +01:00
Sebb 605bc0154f CSV-242 CSVFormat equals() and hash() don't use all fields
Fix equals()
TODO fix hash()
2019-06-14 16:32:45 +01:00
Gary Gregory 3718ec3a8e Name "Apache Commons" in page title. 2019-06-06 10:02:39 -04:00
Gary Gregory d6e494b44d [CSV-241] CSVFormat#valiadte() does not account for
llowDuplicateHeaderNames.

Applying a different version of the GitHub patch with adjustments to the
tests. Also remove trailing whitespace from CSVRecord.

Closes #43.
2019-06-05 18:03:25 -04:00
Gary Gregory 7d100bf05b Bump to next development version 2019-06-05 08:29:56 -04:00
Gary Gregory a227a1e2fb Update POM version numbers for Apache Commons CSV release 1.7 2019-06-01 20:09:24 -04:00
Gary Gregory 33bfaeef8a Prepare for release 1.7.
- There is no longer site archives. We forgot to do it for 1.6 but the
sites are still in svn.
- The Javadoc archives now point to the same place GitHub uses:
javadoc.io
- Checkstyle fixes.
2019-06-01 17:20:20 -04:00
Gary Gregory b94e5ac025 Add @since 1.7. 2019-06-01 15:16:59 -04:00
Gary Gregory e2b55d0a7b Fix typo. 2019-06-01 08:37:52 -04:00
Gary Gregory 6532c22438 Camel-case name. 2019-05-30 16:44:42 -04:00
Gary Gregory 89f8171215 Javadoc: Add missing @since 1.7. 2019-05-28 23:47:29 -04:00
Gary Gregory 0ff2f24499 Add missing Javadoc tag. 2019-05-28 23:46:36 -04:00
Gary Gregory 6ffce5335b Standardize on US spelling of "behavior". 2019-05-28 23:45:25 -04:00
Dave Moten 474b7f4d00 [CSV-239] Add javadoc to CSVFormat (#42) 2019-05-27 18:17:26 -04:00
Gary Gregory dca99998f1 Sort methods. 2019-05-27 08:10:35 -04:00
Gary Gregory 3241e0c7b2 Be quiet on the console. 2019-05-27 08:04:32 -04:00
Gary Gregory 8eb36bd8a7 - Remove unused import.
- Remove trailing white spaces on all lines.
- Use final.
- Use for-each (in test).
- Use try-with-resources (in test).
- Document empty blocks.
2019-05-24 08:21:21 -04:00
Dave Moten 030fb8e37c [CSV-239] Add CSVRecord.getHeaderNames and allow duplicate headers (#41)
* [CSV-239] Cannot get headers in column order from CSVRecord.
* getHeaderNames returns all headers in column order including repeats which are allowed as per RFC 4180
* add CSVFormat.withAllowDuplicateHeaderNames()

* [CSV-239] Cannot get headers in column order from CSVRecord.
* only wrap headerNames with unmodifiableList if non-empty
* fix and enhance CSVRecord.toMap javadoc

* [CSV-239] Cannot get headers in column order from CSVRecord.
* fix exception messages

* [CSV-239] Cannot get headers in column order from CSVRecord.
* fix whitespace

* [CSV-239] Cannot get headers in column order from CSVRecord.
* simplify if statement

* [CSV-239] Cannot get headers in column order from CSVRecord.
* fix indentation
* add javadoc to Headers class
* rename method to createHeaders
* use String.format to build error message
* initialize header names List with appropriate size
2019-05-24 08:11:17 -04:00