From 192afdc3cafd6efc7ceb3deebf3f3591cb71c154 Mon Sep 17 00:00:00 2001 From: michelou Date: Mon, 23 Feb 2004 13:07:27 +0000 Subject: - program entry 'testAuction' renamed to filename. --- sources/examples/auction.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sources/examples/auction.scala') 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; -- cgit v1.2.3