Dictionary.st
changeset 24620 9a36839ff573
parent 24502 af543de49215
child 24728 8ba84cdb9121
--- a/Dictionary.st	Mon Aug 26 09:26:57 2019 +0200
+++ b/Dictionary.st	Mon Aug 26 09:27:14 2019 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1991 by Claus Gittinger
 	      All Rights Reserved
@@ -919,7 +921,7 @@
         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."
@@ -1846,7 +1848,7 @@
     <resource:#obsolete>
 
     self obsoleteMethodWarning:'please use #keysDo:'.
-    ^ self keysDo:aBlock
+    self keysDo:aBlock
 
     "Modified: 20.4.1996 / 11:22:01 / cg"
 !
@@ -1968,7 +1970,7 @@
      this is the same as #associationsDo: here.
      Provided for protocol compatibility with OrderedDictionary"
 
-    ^ self associationsDo:aBlock
+    self associationsDo:aBlock
 
     "Created: 28.2.1997 / 16:08:52 / cg"
 !
@@ -2226,7 +2228,7 @@
     "perform the block for all values in the collection.
      Same as #do: - for VisualWorks compatibility"
 
-    ^ self do:aBlock
+    self do:aBlock
 !
 
 xor:aCollection
@@ -2263,7 +2265,7 @@
 printElementsDo:aBlock
     "redefined, so #printOn: prints associations"
 
-    ^ self associationsDo:aBlock
+    self associationsDo:aBlock
 
     "Created: / 20.1.1998 / 14:11:02 / stefan"
 !