Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-375

DotTerminatedMessageReader should extend BufferedReader, rather than Reader

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sebb@apache.org Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: