Uploaded image for project: 'Terrier Core'
  1. Terrier Core
  2. TR-92

utility.io.CountingInputStream does not count single bytes correctly.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Component/s: .utility
    • Labels:
      None

      Description

      utility.io.CountingInputStream does not count single bytes correctly.

        Attachments

          Activity

          craigm Craig Macdonald created issue -
          Hide
          craigm Craig Macdonald added a comment -

          Fixed, along with

          • checking for -1 reads.
          • read(byte[]) invoked count twice due to super-class inheritance etc.
          • Added test cases.
          Show
          craigm Craig Macdonald added a comment - Fixed, along with checking for -1 reads. read(byte[]) invoked count twice due to super-class inheritance etc. Added test cases.
          craigm Craig Macdonald made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          craigm Craig Macdonald made changes -
          Project TREC [ 10010 ] Terrier Core [ 10000 ]
          Key TREC-156 TR-92
          Workflow jira [ 10276 ] Terrier Open Source [ 10350 ]
          Affects Version/s 3.0 [ 10030 ]
          Affects Version/s 3.0 [ 10020 ]
          Component/s .utility [ 10008 ]
          Component/s Core [ 10020 ]
          Fix Version/s 3.0 [ 10030 ]
          Fix Version/s 3.0 [ 10020 ]

            People

            • Assignee:
              craigm Craig Macdonald
              Reporter:
              craigm Craig Macdonald
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: