#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Wed, 29 May 2019 03:43:44 +0200
changeset 24228 31bd39f0a432
parent 24227 2c11474e979f
child 24229 9e72879e5365
#DOCUMENTATION by cg class: Collection comment/format in: #addIfNotPresent:
Collection.st
--- a/Collection.st	Wed May 29 01:51:33 2019 +0200
+++ b/Collection.st	Wed May 29 03:43:44 2019 +0200
@@ -360,7 +360,6 @@
     ^ self == Collection
 ! !
 
-
 !Collection methodsFor:'Compatibility-ANSI'!
 
 identityIncludes:anObject
@@ -383,10 +382,12 @@
 
 addIfNotPresent:anObject
     "Include anObject as one of the receiver's elements, but only if there
-    is no such element already. Anwser anObject."
+     is no such element already. Answer anObject."
 
     (self includes: anObject) ifFalse: [self add: anObject].
     ^ anObject
+
+    "Modified (comment): / 29-05-2019 / 03:43:32 / Claus Gittinger"
 !
 
 anyOne