Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Upgrade Akka to 2.3.0-RC1

- Upgrade Akka to 2.3.0-RC1
- [Add parens to `sender` reference as recommended]
  (http://doc.akka.io/docs/akka/2.3.0-RC1/project/migration-guide-2.2.x-2.3.x.html#Parens_Added_to_sender)
  • Loading branch information...
commit bb5f838bb0798420f4bb853a3e459fdeb1439e09 1 parent 82ff526
@guersam guersam authored
View
2  documentation/manual/scalaGuide/main/akka/code/ScalaAkka.scala
@@ -70,7 +70,7 @@ class MyActor extends Actor {
def receive = {
case s: String =>
println(s)
- sender ! "Hello, " + s
+ sender() ! "Hello, " + s
}
}
View
4 framework/project/Dependencies.scala
@@ -81,8 +81,8 @@ object Dependencies {
scalaIoFile,
- "com.typesafe.akka" %% "akka-actor" % "2.2.3",
- "com.typesafe.akka" %% "akka-slf4j" % "2.2.3",
+ "com.typesafe.akka" %% "akka-actor" % "2.3.0-RC1",
+ "com.typesafe.akka" %% "akka-slf4j" % "2.3.0-RC1",
"org.scala-stm" %% "scala-stm" % "0.7",
"commons-codec" % "commons-codec" % "1.9",
View
4 samples/scala/websocket-chat/app/models/ChatRoom.scala
@@ -96,10 +96,10 @@ class ChatRoom extends Actor {
case Join(username) => {
if(members.contains(username)) {
- sender ! CannotConnect("This username is already used")
+ sender() ! CannotConnect("This username is already used")
} else {
members = members + username
- sender ! Connected(chatEnumerator)
+ sender() ! Connected(chatEnumerator)
self ! NotifyJoin(username)
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.