Collection.st
branchjv
changeset 21089 d50f93ca9622
parent 21042 edb2e7f82c62
parent 21082 c8e0ef40bf6e
child 21242 19fabe339f8b
--- a/Collection.st	Wed Nov 30 10:25:34 2016 +0000
+++ b/Collection.st	Sat Dec 03 10:09:23 2016 +0000
@@ -1616,16 +1616,16 @@
 asArrayOfType:arrayClass
     "return a new instance of arrayClass with the collection's elements"
 
-    |anIntegerArray 
+    |anArrayInstance 
      index "{ Class: SmallInteger }" |
 
-    anIntegerArray := arrayClass new:(self size).
+    anArrayInstance := arrayClass new:(self size).
     index := 1.
     self do:[:each |
-        anIntegerArray at:index put:each.
+        anArrayInstance at:index put:each.
         index := index + 1
     ].
-    ^ anIntegerArray
+    ^ anArrayInstance
 !
 
 asBag