Permalink
Browse files

Fixed a bug in how ArrayBuffer is used

  • Loading branch information...
1 parent ce124b1 commit 0b80e60948498400639949422d6040744cc45c76 @dpp dpp committed Mar 8, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/actor/src/main/scala/net/liftweb/actor/LAFuture.scala
@@ -144,7 +144,7 @@ object LAFuture {
case (f, idx) =>
f.foreach {
v => sync.synchronized {
- vals(idx) = v
+ vals.insert(idx, v)
gotCnt += 1
if (gotCnt >= len) {
ret.satisfy(vals.toList)
@@ -176,7 +176,7 @@ object LAFuture {
vb => sync.synchronized {
vb match {
case Full(v) => {
- vals(idx) = v
+ vals.insert(idx, v)
gotCnt += 1
if (gotCnt >= len) {
ret.satisfy(Full(vals.toList))

0 comments on commit 0b80e60

Please sign in to comment.