author | Stefan Vogel <sv@exept.de> |
Fri, 22 Jul 2016 09:10:07 +0200 | |
changeset 20172 | 0855ffd234fa |
parent 20171 | 445b1b8a51b3 |
child 20173 | 58834d5a0e24 |
--- a/Array.st Thu Jul 21 22:43:49 2016 +0200 +++ b/Array.st Fri Jul 22 09:10:07 2016 +0200 @@ -633,15 +633,14 @@ Return aCollection. Redefined here for slightly more speed." - |stop "{ Class: SmallInteger }"| + |each stop "{ Class: SmallInteger }"| stop := self size. 1 to:stop do:[:idx | - |each| - each := self at:idx. - each notNil ifTrue:[ - aCollection add:each. - ]. + each := self at:idx. + each notNil ifTrue:[ + aCollection add:each. + ]. ]. ^ aCollection