WeakValueDictionary.st
changeset 17265 556ffc7d34b4
parent 14311 81149029915a
child 18120 e3a375d5f6a8
child 18620 b4e9f25d6ce6
--- a/WeakValueDictionary.st	Tue Dec 30 13:35:31 2014 +0100
+++ b/WeakValueDictionary.st	Tue Dec 30 13:35:34 2014 +0100
@@ -11,6 +11,8 @@
 "
 "{ Package: 'stx:libbasic' }"
 
+"{ NameSpace: Smalltalk }"
+
 Dictionary subclass:#WeakValueDictionary
 	instanceVariableNames:''
 	classVariableNames:''
@@ -194,13 +196,13 @@
     "Modified: / 13.12.2001 / 14:18:56 / martin"
 !
 
-emptyCheck
+possiblyShrink
     "check if the receiver has become too empty (after a remove)
      and shrink if it makes sense.
-     Definition of 'too empty' is 'filled less than 12.5% (i.e. 1/8th)'"
+     Definition of 'too empty' is: 'filled less than 12.5% (i.e. 1/8th)'"
 
     self clearDeadSlots.
-    super emptyCheck
+    super possiblyShrink
 !
 
 slotIsEmpty:probe
@@ -263,5 +265,6 @@
 !WeakValueDictionary class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/WeakValueDictionary.st,v 1.19 2012-08-13 11:13:51 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/WeakValueDictionary.st,v 1.20 2014-12-30 12:35:34 cg Exp $'
 ! !
+