You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Chen (Jira)" <ji...@apache.org> on 2020/02/25 01:50:00 UTC

[jira] [Commented] (CSV-149) Line number is not proper at EOF

    [ https://issues.apache.org/jira/browse/CSV-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17044045#comment-17044045 ] 

Chen commented on CSV-149:
--------------------------

I have commit a pr at github [pr|[https://github.com/apache/commons-csv/pull/60]] , may somebody have review?

> Line number is not proper at EOF
> --------------------------------
>
>                 Key: CSV-149
>                 URL: https://issues.apache.org/jira/browse/CSV-149
>             Project: Commons CSV
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: 1.1
>         Environment: CSV 1.1, Java 1.6, Windows OS
>            Reporter: Kranthi
>            Priority: Major
>             Fix For: Patch Needed
>
>         Attachments: csv-145-unit-test.diff
>
>
> CSVParser.getCurrentLineNumber() is returning wrong line number (actual line number - 1) when EOF file is reached without record delimiter (\r\n).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)