incubator-esme-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vdic...@apache.org
Subject svn commit: r1045387 - in /incubator/esme/branches/lift-2.2/trunk/server/src/main/scala/org/apache/esme/actor: SchedulerActor.scala UserActor.scala
Date Mon, 13 Dec 2010 21:49:46 GMT
Author: vdichev
Date: Mon Dec 13 21:49:46 2010
New Revision: 1045387

URL: http://svn.apache.org/viewvc?rev=1045387&view=rev
Log:
Fix bug introduced by revision 1044668: operator :+ doesn't modify reference

Modified:
    incubator/esme/branches/lift-2.2/trunk/server/src/main/scala/org/apache/esme/actor/SchedulerActor.scala
    incubator/esme/branches/lift-2.2/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala

Modified: incubator/esme/branches/lift-2.2/trunk/server/src/main/scala/org/apache/esme/actor/SchedulerActor.scala
URL: http://svn.apache.org/viewvc/incubator/esme/branches/lift-2.2/trunk/server/src/main/scala/org/apache/esme/actor/SchedulerActor.scala?rev=1045387&r1=1045386&r2=1045387&view=diff
==============================================================================
--- incubator/esme/branches/lift-2.2/trunk/server/src/main/scala/org/apache/esme/actor/SchedulerActor.scala
(original)
+++ incubator/esme/branches/lift-2.2/trunk/server/src/main/scala/org/apache/esme/actor/SchedulerActor.scala
Mon Dec 13 21:49:46 2010
@@ -40,7 +40,7 @@ object SchedulerActor extends LiftActor{
       if (!regularsPerAction.contains(id)) {
         regularsPerAction += (id -> List(regularActor))
       } else {
-        regularsPerAction(id) :+ regularActor
+        regularsPerAction(id) ::= regularActor
       }
     }
     

Modified: incubator/esme/branches/lift-2.2/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala
URL: http://svn.apache.org/viewvc/incubator/esme/branches/lift-2.2/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala?rev=1045387&r1=1045386&r2=1045387&view=diff
==============================================================================
--- incubator/esme/branches/lift-2.2/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala
(original)
+++ incubator/esme/branches/lift-2.2/trunk/server/src/main/scala/org/apache/esme/actor/UserActor.scala
Mon Dec 13 21:49:46 2010
@@ -190,7 +190,7 @@ class UserActor extends LiftActor {
       case LatestMessages(cnt) =>
         reply(_mailbox.take(cnt).toList)
       
-      case AllowPool(poolId) => pools :+ poolId
+      case AllowPool(poolId) => pools ::= poolId
       
       case Resend(msgId) =>
         for (msg <- Message.find(msgId)) {



Mime
View raw message