summaryrefslogtreecommitdiff
path: root/sources/examples/auction.scala
diff options
context:
space:
mode:
Diffstat (limited to 'sources/examples/auction.scala')
-rw-r--r--sources/examples/auction.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/examples/auction.scala b/sources/examples/auction.scala
index 2d00fca880..e553752342 100644
--- a/sources/examples/auction.scala
+++ b/sources/examples/auction.scala
@@ -22,7 +22,7 @@ class Auction(seller: Actor, minBid: Int, closing: Date) extends Actor() {
val timeToShutdown = 36000000; // msec
val bidIncrement = 10;
override def run() = execute;
- def execute {
+ def execute = {
var maxBid = minBid - bidIncrement;
var maxBidder: Actor = _;
var running = true;