#QUALITY by exept
authorClaus Gittinger <cg@exept.de>
Mon, 26 Aug 2019 10:24:29 +0200
changeset 5152 8834593e27e1
parent 5151 bfed222dcaad
child 5153 9bf4a6f51b33
#QUALITY by exept class: BaseNCoder changed: #nextPut: #nextPutAll:startingAt:to: return value consistency
BaseNCoder.st
--- a/BaseNCoder.st	Mon Aug 26 10:10:18 2019 +0200
+++ b/BaseNCoder.st	Mon Aug 26 10:24:29 2019 +0200
@@ -482,7 +482,7 @@
 nextPut:aByte
     "encode aByte on the output stream"
 
-    ^ self nextPutByte:aByte asInteger.
+    self nextPutByte:aByte asInteger.
 !
 
 nextPutAll:aCollection startingAt:first to:last
@@ -492,7 +492,7 @@
     aCollection from:first to:last do:[:element |
         self nextPutByte:element
     ].
-    ^ aCollection
+
 !
 
 nextPutBytes:aCollectionOfBytes