summaryrefslogtreecommitdiff
path: root/sources/examples/auction.scala
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-03-18 12:36:03 +0000
committerpaltherr <paltherr@epfl.ch>2003-03-18 12:36:03 +0000
commitc6ce203b92ccbeebdc8af5016e544768cb059937 (patch)
tree7af0eb240d1853bc4e9dce7d2df0073518bd68ec /sources/examples/auction.scala
parent611eb370fa5ef8508ce27ffc27fe441b37fbb54a (diff)
downloadscala-c6ce203b92ccbeebdc8af5016e544768cb059937.tar.gz
scala-c6ce203b92ccbeebdc8af5016e544768cb059937.tar.bz2
scala-c6ce203b92ccbeebdc8af5016e544768cb059937.zip
- Fixed some minor errors
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;