#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Mon, 24 Jun 2019 12:50:09 +0200
changeset 24350 5e7ccf17def9
parent 24349 c660ae249716
child 24351 fd7235316291
#DOCUMENTATION by cg class: Dictionary comment/format in: #removeKey:
Dictionary.st
--- a/Dictionary.st	Mon Jun 24 12:49:50 2019 +0200
+++ b/Dictionary.st	Mon Jun 24 12:50:09 2019 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1991 by Claus Gittinger
 	      All Rights Reserved
@@ -314,7 +316,6 @@
     "Created: / 04-07-2017 / 16:33:06 / cg"
 ! !
 
-
 !Dictionary methodsFor:'Compatibility-Dolphin'!
 
 equals:aDictionary
@@ -1217,15 +1218,17 @@
 !
 
 removeKey:aKey
-    "remove the association under aKey from the collection.
+    "remove the association under aKey from the collection,
+     return the value previously stored there.
      If it was not in the collection report an error.
 
      WARNING: do not remove elements while iterating over the receiver.
-	      See #saveRemoveKey: to do this."
+              See #saveRemoveKey: to do this."
 
     ^ self removeKey:aKey ifAbsent:[self errorKeyNotFound:aKey]
 
-    "Modified: 1.3.1996 / 21:21:52 / cg"
+    "Modified: / 01-03-1996 / 21:21:52 / cg"
+    "Modified (comment): / 24-06-2019 / 12:44:22 / Claus Gittinger"
 !
 
 removeKey:aKey ifAbsent:aBlock