renamed the private emptyCheck of Set & Dictionary
to possiblyShrink and the private fullCheck to possiblyGrow,
to avoid name conflicts with other smalltalks,
where emptyCheck is raising an error when empty.
--- a/CacheDictionary.st Sun Dec 28 15:08:18 2014 +0100
+++ b/CacheDictionary.st Tue Dec 30 13:35:25 2014 +0100
@@ -11,6 +11,8 @@
"
"{ Package: 'stx:libbasic2' }"
+"{ NameSpace: Smalltalk }"
+
Dictionary subclass:#CacheDictionary
instanceVariableNames:''
classVariableNames:''
@@ -64,14 +66,6 @@
!CacheDictionary methodsFor:'private'!
-emptyCheck
- "redefined - never shrink"
-
- ^ self
-
- "Modified: 30.1.1997 / 15:17:12 / cg"
-!
-
findKeyOrNil:key
"Look for the key in the receiver. If it is found, return
the index of the association containing the key, otherwise
@@ -122,17 +116,25 @@
"Modified (format): / 26-12-2011 / 10:42:08 / cg"
!
-fullCheck
+possiblyGrow
"redefined - never grow"
^ self
"Modified: 30.1.1997 / 15:17:18 / cg"
+!
+
+possiblyShrink
+ "redefined - never shrink"
+
+ ^ self
+
+ "Modified: 30.1.1997 / 15:17:12 / cg"
! !
!CacheDictionary class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic2/CacheDictionary.st,v 1.22 2014-03-07 22:06:40 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic2/CacheDictionary.st,v 1.23 2014-12-30 12:35:25 cg Exp $'
! !