PositionnableStream>>isEmpty is wrong
Damien Cassou
damien.cassou at gmail.com
Tue Feb 27 15:22:31 UTC 2007
Bug was already reported and fixed: http://bugs.impara.de/view.php?id=2273
But the fix is still not in the image.
2007/2/27, Damien Cassou <damien.cassou at gmail.com>:
> I have implemented the fix (very simple), 1 test for ReadStream,
> WriteStream and ReadWriteStream. I will open a new bug on mantis and
> commit the changeset.
>
> Correction:
>
> isEmpty
> "Answer whether the receiver's contents has no elements."
>
> "Returns true if both the set of past and future sequence values of
> the receiver are empty. Otherwise returns false"
>
> ^ self atEnd and: [position = 0]
>
> Comments ?
>
> --
> Damien Cassou
>
--
Damien Cassou
More information about the Squeak-dev
mailing list
|