Uploaded image for project: 'Commons CSV'
  1. Commons CSV
  2. CSV-149

Line number is not proper at EOF

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.9.0
    • Component/s: Parser
    • Labels:
      None
    • Environment:

      CSV 1.1, Java 1.6, Windows OS

      Description

      CSVParser.getCurrentLineNumber() is returning wrong line number (actual line number - 1) when EOF file is reached without record delimiter (\r\n).

        Attachments

        1. csv-145-unit-test.diff
          1 kB
          Brent Worden

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kranthi Kranthi
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 50m
                  2h 50m