Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334300 - Adding robustness to CsvReader.java
Summary: Adding robustness to CsvReader.java
Status: CLOSED FIXED
Alias: None
Product: OSEE
Classification: Technology
Component: OSEE Application Framework (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.9.8   Edit
Assignee: Andy Jury CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-13 13:51 EST by Andy Jury CLA
Modified: 2011-03-29 12:39 EDT (History)
1 user (show)

See Also:


Attachments
Patch file with the fix (2.50 KB, patch)
2011-01-13 13:52 EST, Andy Jury CLA
ryan.d.brooks: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Jury CLA 2011-01-13 13:51:40 EST
Build Identifier: 0.9.7

Currently, the CsvReader class only reads the last line in a file if there is a new line after it.  It would be good to add robustness so the last line gets read whether there is a new line after it or not.

Reproducible: Always

Steps to Reproduce:
1.Read a csv file with no new line after the last line of data.
2.
3.
Comment 1 Andy Jury CLA 2011-01-13 13:52:44 EST
Created attachment 186768 [details]
Patch file with the fix

Please apply the patch.  Thanks!
Comment 2 Andrew Finkbeiner CLA 2011-01-13 14:35:57 EST
The supplied patch works.
Comment 3 Andrew Finkbeiner CLA 2011-01-13 14:36:25 EST
Changes work, closing bug.