--- a/Collection.st Thu Jan 26 13:01:28 2017 +0100
+++ b/Collection.st Thu Jan 26 13:51:46 2017 +0100
@@ -273,7 +273,6 @@
^ self newWithSize:n
! !
-
!Collection class methodsFor:'Signal constants'!
emptyCollectionSignal
@@ -550,7 +549,6 @@
"Created: / 22-10-2008 / 21:29:27 / cg"
! !
-
!Collection methodsFor:'accessing'!
anElement
@@ -2750,7 +2748,7 @@
"Note that there is no way to get the first element
which works for all kinds of Collections.
Must therefore test every one (maxValue is nil for the first element)."
- (maxValue == nil or:[val > maxValue]) ifTrue: [
+ (maxValue isNil or:[val > maxValue]) ifTrue: [
maxElement := each.
maxValue := val
]
@@ -2778,7 +2776,7 @@
"Note that there is no way to get the first element
which works for all kinds of Collections.
Must therefore test every one (minValue is nil for the first element)."
- (minValue == nil or:[val < minValue]) ifTrue: [
+ (minValue isNil or:[val < minValue]) ifTrue: [
minElement := each.
minValue := val
]
@@ -6012,7 +6010,6 @@
^ aVisitor visitCollection:self with:aParameter
! !
-
!Collection class methodsFor:'documentation'!
version