Array.st
changeset 15061 fea9df1c613a
parent 14995 3ac27883699a
child 15607 0dd001402209
child 18045 c0c600e0d3b3
--- a/Array.st	Thu Apr 04 09:54:04 2013 +0200
+++ b/Array.st	Thu Apr 04 09:55:57 2013 +0200
@@ -280,6 +280,7 @@
     "Modified: 23.4.1996 / 15:55:06 / cg"
 ! !
 
+
 !Array methodsFor:'accessing'!
 
 at:index
@@ -419,11 +420,12 @@
 !Array methodsFor:'converting'!
 
 asArray
-    "return the receiver as an array - thats the receiver itself."
+    "return the receiver as an array - that's the receiver itself.
+     Notice: Use asNewArray, if you intent to modify the returned collection."
 
     "could be an instance of a subclass..."
     self class == Array ifTrue:[
-	^ self
+        ^ self
     ].
     ^ super asArray
 
@@ -2578,10 +2580,10 @@
 !Array class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Array.st,v 1.157 2013-03-28 23:13:28 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Array.st,v 1.158 2013-04-04 07:55:57 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/Array.st,v 1.157 2013-03-28 23:13:28 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Array.st,v 1.158 2013-04-04 07:55:57 cg Exp $'
 ! !