Terrier Core

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

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 3.0
  • Fix Version/s: 3.0
  • Component/s: .utility
  • Description:
    utility.io.CountingInputStream does not count single bytes correctly.

Activity

Hide
Craig Macdonald added a comment - 23/Feb/10 4:41 PM

Fixed, along with

  • checking for -1 reads.
  • read(byte[]) invoked count twice due to super-class inheritance etc.
  • Added test cases.
Show
Craig Macdonald added a comment - 23/Feb/10 4:41 PM Fixed, along with
  • checking for -1 reads.
  • read(byte[]) invoked count twice due to super-class inheritance etc.
  • Added test cases.

People

Dates

  • Created:
    23/Feb/10 4:39 PM
    Updated:
    05/Mar/10 5:36 PM
    Resolved:
    23/Feb/10 4:41 PM