KeyedCollection.st
changeset 24612 1ac50ebe401a
parent 23888 ecd7ab5136be
child 24729 30862b726e2f
--- a/KeyedCollection.st	Mon Aug 26 09:02:21 2019 +0200
+++ b/KeyedCollection.st	Mon Aug 26 09:02:50 2019 +0200
@@ -459,12 +459,11 @@
         to a key in the receiver, the associated element in dictionary
         replaces the element in the receiver.
 
-     Returns the argument, aCollection (sigh).
+     Returns the argument, aCollection.
 
      WARNING: do not add elements while iterating over the receiver.
               Iterate over a copy to do this."
 
-
     self ~~ aCollection ifTrue:[
         aCollection isSequenceable ifTrue:[
             aCollection do:[:eachPair |
@@ -724,7 +723,7 @@
 printElementsDo:aBlock
     "redefined, so #printOn: prints associations"
 
-    ^ self associationsDo:aBlock
+    self associationsDo:aBlock
 
     "Created: / 14-09-2018 / 17:47:48 / Stefan Vogel"
 !