[
https://issues.apache.org/jira/browse/CSV-285?focusedWorklogId=773203&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-773203
]
ASF GitHub Bot logged work on CSV-285:
--------------------------------------
Author: ASF GitHub Bot
Created on: 22/May/22 12:13
Start Date: 22/May/22 12:13
Worklog Time Spent: 10m
Work Description: garydgregory commented on PR #169:
URL: https://github.com/apache/commons-csv/pull/169#issuecomment-1133882770
@belugabehr
Issue Time Tracking
-------------------
Worklog Id: (was: 773203)
Time Spent: 1.5h (was: 1h 20m)
> Replace BufferedReader with PushbackReader
> ------------------------------------------
>
> Key: CSV-285
> URL: https://issues.apache.org/jira/browse/CSV-285
> Project: Commons CSV
> Issue Type: Improvement
> Reporter: David Mollitor
> Priority: Major
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> {{commons-csv}} uses, as its base {{Reader}} a {{BufferedReader}}, however
> the more natural choice is {{PushBackReader}}.
> {quote}
> This is useful in situations where it is convenient for a fragment of code to
> read an indefinite number of data bytes that are delimited by a particular
> byte value; after reading the terminating byte, the code fragment can
> "unread" it, so that the next read operation on the input stream will reread
> the byte that was pushed back. For example, bytes representing the characters
> constituting an identifier might be terminated by a byte representing an
> operator character; a method whose job is to read just an identifier can read
> until it sees the operator and then push the operator back to be re-read.
> {quote}
> https://docs.oracle.com/javase/8/docs/api/java/io/PushbackInputStream.html
> {{commons-csv}} currently implements these "pushback" features on top of a
> {{BufferedReader}}.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)