class: Collection
authorStefan Vogel <sv@exept.de>
Tue, 10 Sep 2013 09:35:52 +0200
changeset 15756 c63aea2dcfe5
parent 15755 d9443f8b76eb
child 15757 f7e84eeeaaa9
child 18097 52f3ca7a321f
class: Collection comment/format in: #lastIfEmpty:
Collection.st
--- a/Collection.st	Fri Sep 06 18:10:58 2013 +0200
+++ b/Collection.st	Tue Sep 10 09:35:52 2013 +0200
@@ -259,6 +259,7 @@
     ^ self withSize:n
 ! !
 
+
 !Collection class methodsFor:'Signal constants'!
 
 emptyCollectionSignal
@@ -530,6 +531,7 @@
     ].
 ! !
 
+
 !Collection methodsFor:'accessing'!
 
 anElement
@@ -767,7 +769,7 @@
 lastIfEmpty:exceptionValue
     "return the last element of the collection.
      If its empty, return the exceptionValue.
-     (i.e. dont trigger an error as done in #last)"
+     (i.e. don't trigger an error as done in #last)"
 
     self isEmpty ifTrue:[^ exceptionValue value].
     ^ self last
@@ -4901,11 +4903,11 @@
 !Collection class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Collection.st,v 1.315 2013-09-05 23:16:50 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Collection.st,v 1.316 2013-09-10 07:35:52 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/Collection.st,v 1.315 2013-09-05 23:16:50 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Collection.st,v 1.316 2013-09-10 07:35:52 stefan Exp $'
 ! !