#REFACTORING by stefan
class: PositionableStream
changed:
#reset
#resetPosition
mark #resetPosition as obsolete
(changeover from 1-based streams to 0-based stream has been finished long ago)
--- a/PositionableStream.st Thu May 19 10:40:56 2016 +0200
+++ b/PositionableStream.st Thu May 19 10:42:22 2016 +0200
@@ -416,7 +416,7 @@
reset
"set the read position to the beginning of the collection"
- self resetPosition
+ position := 0.
"
|s|
@@ -429,6 +429,7 @@
!
resetPosition
+ <resource: #obsolete>
"set the read position to the beginning of the collection"
position := 0