[
https://issues.apache.org/jira/browse/NET-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebb resolved NET-375.
----------------------
Resolution: Fixed
Extending Buffered reader allowed the PushBack reader to be eliminated, and the
code simplified.
The class now supports readLine() directly.
> DotTerminatedMessageReader should extend BufferedReader, rather than Reader
> ---------------------------------------------------------------------------
>
> Key: NET-375
> URL: https://issues.apache.org/jira/browse/NET-375
> Project: Commons Net
> Issue Type: Improvement
> Affects Versions: 2.2
> Reporter: Sebb
>
> DotTerminatedMessageReader is a line oriented reader, yet does not extend
> BufferedReader.
> This means that frequently it needs to be wrapped in a BufferedReader.
> Also, it currently has to mess about with adding line endings so that the
> enclosing BufferedReader will work OK.
> This potentially changes the original input stream more than necessary.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira