diff options
author | Philipp Haller <hallerp@gmail.com> | 2007-07-09 20:33:12 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2007-07-09 20:33:12 +0000 |
commit | c2c019c73df4d915c4d89da4c1ad1c14cfa42e58 (patch) | |
tree | 56e0589624badcf01380d46aa2f18c3d6a711835 /docs/examples/actors/channels.scala | |
parent | 9260b90c006a0fc47f715391f040c0ada1bdbe61 (diff) | |
download | scala-c2c019c73df4d915c4d89da4c1ad1c14cfa42e58.tar.gz scala-c2c019c73df4d915c4d89da4c1ad1c14cfa42e58.tar.bz2 scala-c2c019c73df4d915c4d89da4c1ad1c14cfa42e58.zip |
Reverted accidental changes in channels example.
Diffstat (limited to 'docs/examples/actors/channels.scala')
-rw-r--r-- | docs/examples/actors/channels.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/actors/channels.scala b/docs/examples/actors/channels.scala index 9267882e50..498fb9602c 100644 --- a/docs/examples/actors/channels.scala +++ b/docs/examples/actors/channels.scala @@ -13,8 +13,8 @@ object channels extends Application { b ! Msg(Ch1, Ch2) react { - case x => Console.println("received on int channel: "+x) - //case y => Console.println("received on String channel: "+y) + case Ch1 ! x => Console.println("received on int channel: "+x) + case Ch2 ! y => Console.println("received on String channel: "+y) } } |