Commit Graph

1559 Commits

Author SHA1 Message Date
Gary Gregory e709fffe47 Remove trailing whitespace. 2020-06-17 11:07:45 -04:00
Chen ab751011e6
Change JiraCsv164Test to JiraCsv154Test (#69) 2020-06-13 18:30:01 -04:00
Chen 9b3046e6d9
Use license instead of licence (#74) 2020-06-01 16:11:30 -04:00
Gary Gregory 679ccc5951 [CSV-149] Line number is not proper at EOF.
[CSV-195] Parser iterates over the last CSV Record twice.
2020-06-01 15:59:41 -04:00
Chen ad11cd14d0
[CSV-149]/[CSV-195] fix line number is not proper at EOF (#60) 2020-06-01 15:53:07 -04:00
Gary Gregory d6845084c0 Test major Java versions with GitHub actions as documented on
https://github.com/actions/setup-java
2020-05-30 10:58:07 -04:00
Gary Gregory c958d96f34 Clean up. 2020-05-28 15:16:38 -04:00
Gary Gregory a5e21efe8f Fix bug in test. 2020-05-28 14:02:26 -04:00
Gary Gregory d4e09991a5 Update tests from commons-io:commons-io 2.6 to 2.7. 2020-05-28 08:14:45 -04:00
Gary Gregory 66243ac2a9 Update tests from commons-io:commons-io 2.6 to 2.7. 2020-05-28 08:11:29 -04:00
Gary Gregory 914f2c4155 Move resources to component specific folder. 2020-05-28 08:10:18 -04:00
Amey Jadiye 852e11e4fb
Allow java-ea to fail (#72) 2020-05-24 16:30:39 -04:00
Gary Gregory 21f4f584ba Sort methods in AB order. 2020-05-24 16:08:41 -04:00
Gary Gregory abd7de4283 Javadoc. 2020-05-24 16:08:08 -04:00
Gary Gregory 1963ea32d2 Add @SuppressWarnings and Javadoc. 2020-05-24 16:06:51 -04:00
Gary Gregory 1a33fd8f96 Add in-line comment. 2020-05-24 16:04:35 -04:00
Gary Gregory 8000d69590 Javadoc. 2020-05-24 16:02:55 -04:00
Gary Gregory adc4faa784 Replace org.apache.commons.csv.Assertions.notNull() with
Objects.requireNonNull().
2020-05-24 10:47:56 -04:00
Gary Gregory bc2419915d [CSV-211] CSVFormat.format trims last delimiter if the delimiter is a
white space #71.
2020-05-24 10:25:24 -04:00
Chen 3eac15fc8d
[CSV-211] CSVFormat.format trims last delimiter if the delimiter is a white space (#71)
* [CSV-211] fix CSVFormat.format trims last delimiter if the delimiter is a white space

* [CSV-211] Add JiraCsv211Test
2020-05-24 10:20:23 -04:00
Gary Gregory 57c77341d4 Improve lexer and token coverage #67. 2020-04-15 09:29:29 -04:00
Chen d49e991196
Improve lexer and token coverage (#67)
* Improve Lexer and Token coverage

* fix the imports
2020-04-15 09:28:48 -04:00
Gary Gregory 8ae700e7be Add openjdk14 to Travis. 2020-04-15 09:26:48 -04:00
Gary Gregory 56b626f0d9 Move site files to their propper locations (not in the production
folder.)
2020-04-10 17:28:08 -04:00
Gary Gregory ae936c0e73 Move site files to their propper locations (not in the production
folder.)
2020-04-10 17:26:10 -04:00
Gary Gregory 2906565c56 Reset to RC1. 2020-04-10 15:23:16 -04:00
Gary Gregory 0ce4b57af8 Improve CSVRecord and CSVPrinter code coverage #66. 2020-04-09 08:55:28 -04:00
Chen 83b2b9cc2c
Improve record and printer Coverage (#66)
* Improve CSVRecord and CSVPrinter coverage

* remove useless test code and test throws

* add space
2020-04-09 08:52:17 -04:00
Gary Gregory 6c66ca4704 Removed invalid Javadoc markup for CSVFormat EXCEL #64. 2020-04-03 17:05:04 -04:00
a4ff7810 3c393fedbd
Removed invalid Javadoc markup for CSVFormat EXCEL (#64)
Removed `@link`s in `@code` blocks for `CSVFormat EXCEL` Javadoc. Cf. https://javadoc.io/doc/org.apache.commons/commons-csv/1.8/org/apache/commons/csv/CSVFormat.html#EXCEL (or https://javadoc.io/doc/org.apache.commons/commons-csv/1.7/org/apache/commons/csv/CSVFormat.html#EXCEL) for render of currently broken version, for example.
2020-04-03 17:04:20 -04:00
Gary Gregory 3df2376866 Improve test coverage in CSVFormatTest #65. 2020-04-03 16:58:21 -04:00
Chen f9633e8066
Improve test coverage in CSVFormatTest (#65)
* Improve Format Coverage to 99percent

* code format add space
2020-04-03 16:57:07 -04:00
Gary Gregory cab61c53f1 Update tests from Apache Commons Lang 3.9 to 3.10. 2020-03-27 14:09:05 -04:00
Gary Gregory 96b8485176 [CSV-149] Add disabled test. 2020-03-26 09:50:40 -04:00
Gary Gregory d0bc2e3618 Fix XML. 2020-03-25 10:35:22 -04:00
Gary Gregory 64cb6d7a93 Update release description. 2020-03-24 21:07:12 -04:00
Gary Gregory 29a0464653 Fix CSVFileParserTest.java to allow for a null return value from
record.getComment() #62.
2020-03-24 21:05:07 -04:00
Chen 5591444148
Fix the old test case record.getComment() will never be null (#62)
* The old test case record.getComment() will never be null and if record.getComment() be null the test code misplace the null test.
Add a new test file that record.getComment() will be null and test record.getComment() no null before using

* keep the caching of "record.getComment()"
2020-03-24 21:04:14 -04:00
Gary Gregory 72edc56862 org.junit.jupiter:junit-jupiter from 5.6.0 to 5.6.1. 2020-03-23 11:12:35 -04:00
Gary Gregory b552b0e88c Improve CSVFormat test coverage #63. 2020-03-23 11:10:32 -04:00
Chen 83d6f8117a
improve CSVFormat test coverage (#63)
* improve CSVFormat test coverage

* remove print in test
2020-03-23 11:09:09 -04:00
Gary Gregory c2f46df203 [CSV-184] Make the method CSVRecord#putIn(Map) public. 2020-03-23 09:39:19 -04:00
Gary Gregory ea7ffd7b8e Rename pmd.version to commons.pmd.version to match commons-parent. 2020-03-17 11:14:14 -04:00
Gary Gregory c255268aa1 maven-pmd-plugin 3.12.0 -> 3.13.0. 2020-03-17 11:06:17 -04:00
Gary Gregory 2dd3606127 org.mockito:mockito-core 3.2.4 -> 3.3.3. 2020-03-17 10:56:03 -04:00
Gary Gregory 2b51aa7d80 [CSV-259] CSVFormat.printWithEscapes throws
StringIndexOutOfBoundsException when value is Reader #61.
2020-03-17 10:53:44 -04:00
Chen 953a6de722
fix isssue csv-259 (#61)
* fix isssue csv-259

* add testcase for CSV259

* exclude csv259 test file

* organize the imports
2020-03-17 10:51:01 -04:00
Gary Gregory e503c568a1 Javadoc typo in CSVFormat let's -> lets #57. 2020-02-13 08:49:46 -05:00
Chen db130e7178
fix typo from let's you to let you (#57)
* fix typo from let's you to let you

* fixtypo let to lets
2020-02-13 08:47:23 -05:00
Gary Gregory 493616e35c Replace FindBugs with SpotBugs #56. 2020-02-12 16:16:20 -05:00