Skip to content

Fix CSV-149 and CSV-195#60

Merged
garydgregory merged 1 commit into
apache:masterfrom
dota17:fix_csv_149_195
Jun 1, 2020
Merged

Fix CSV-149 and CSV-195#60
garydgregory merged 1 commit into
apache:masterfrom
dota17:fix_csv_149_195

Conversation

@dota17

@dota17 dota17 commented Feb 24, 2020

Copy link
Copy Markdown
Contributor

fix [CSV-195] and [CSV-149]
when stream end with normal char but not lineseparator will add 1 to currentlinenumber.

https://issues.apache.org/jira/browse/CSV-149
https://issues.apache.org/jira/browse/CSV-195

@coveralls

coveralls commented Feb 24, 2020

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 98.506% when pulling 5a621a5 on dota17:fix_csv_149_195 into c958d96 on apache:master.

Comment thread src/test/java/org/apache/commons/csv/CSVParserTest.java Outdated
Comment thread src/test/java/org/apache/commons/csv/CSVParserTest.java Outdated
Comment thread src/test/java/org/apache/commons/csv/CSVParserTest.java Outdated
Comment thread src/test/java/org/apache/commons/csv/CSVParserTest.java Outdated
Comment thread src/main/java/org/apache/commons/csv/ExtendedBufferedReader.java Outdated
@dota17

dota17 commented Feb 26, 2020

Copy link
Copy Markdown
Contributor Author

@sgoeschl @garydgregory thanks very much for code review suggestions.
I have updated the pr. and CSV-195 and CSV-149 are the same question, so I name testcase for testcsv149 in a single test file.

@sgoeschl sgoeschl changed the title Fix csv 149 195 Fix CSV-149 and CSV-195 Feb 26, 2020
@sgoeschl

Copy link
Copy Markdown

LGTM

@garydgregory

Copy link
Copy Markdown
Member

@garydgregory

Copy link
Copy Markdown
Member

I will review tonight...

Comment thread src/test/java/org/apache/commons/csv/issues/JiraCsv149Test.java
Comment thread src/main/java/org/apache/commons/csv/ExtendedBufferedReader.java Outdated
@dota17 dota17 requested a review from garydgregory March 30, 2020 07:40
@dota17 dota17 force-pushed the fix_csv_149_195 branch 2 times, most recently from 5f624fd to 8014c0e Compare May 7, 2020 02:05
@dota17 dota17 force-pushed the fix_csv_149_195 branch from 8014c0e to 9d4d775 Compare May 28, 2020 07:19
@dota17

dota17 commented May 28, 2020

Copy link
Copy Markdown
Contributor Author

@garydgregory thanks. I have updated the pr to resolve conflicts and reviews

@garydgregory

Copy link
Copy Markdown
Member

@dota17
Please rebase on master, I just fixed a bug in the test. TY!

@dota17 dota17 force-pushed the fix_csv_149_195 branch from 9d4d775 to 5a621a5 Compare May 29, 2020 01:24
@dota17

dota17 commented May 29, 2020

Copy link
Copy Markdown
Contributor Author

@garydgregory
Thanks for your comments, I rebaseed on master.

@garydgregory garydgregory merged commit ad11cd1 into apache:master Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants