#REFACTORING by stefan
authorStefan Vogel <sv@exept.de>
Thu, 19 May 2016 10:42:22 +0200
changeset 19885 7a8a85b3fa8d
parent 19884 e2af0c5af2b4
child 19886 3f66e06fc677
#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)
PositionableStream.st
--- 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