diff options
Diffstat (limited to 'sources/examples/auction.scala')
-rw-r--r-- | sources/examples/auction.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/examples/auction.scala b/sources/examples/auction.scala index ecf121ef7d..c6ab223375 100644 --- a/sources/examples/auction.scala +++ b/sources/examples/auction.scala @@ -68,7 +68,7 @@ class Auction(seller: Actor, minBid: int, closing: Date) extends Actor { // ---- Test ------------------------------------------------------------- -object testAuction { +object auction { val random = new java.util.Random(); @@ -82,7 +82,7 @@ object testAuction { def client(i: int, increment: int, top: int) = new Actor { val name = "Client " + i; - def log(msg: String) = System.out.println(name + ": " + msg); + def log(msg: String) = Console.println(name + ": " + msg); var running = true; var max: int = _; var current: int = 0; |