From f5c98713dea7587f103f2aaefc01b285a87619aa Mon Sep 17 00:00:00 2001 From: michelou Date: Tue, 27 Nov 2007 12:31:59 +0000 Subject: fixed #63 --- docs/examples/actors/auction.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/examples/actors/auction.scala') diff --git a/docs/examples/actors/auction.scala b/docs/examples/actors/auction.scala index 1ca538c962..513e9a6ad0 100644 --- a/docs/examples/actors/auction.scala +++ b/docs/examples/actors/auction.scala @@ -23,7 +23,7 @@ case class AuctionConcluded(seller: Actor, client: Actor) // auction concluded case object AuctionFailed extends AuctionReply // failed with no bids case object AuctionOver extends AuctionReply // bidding is closed -class Auction(seller: Actor, minBid: int, closing: Date) extends Actor { +class AuctionActor(seller: Actor, minBid: int, closing: Date) extends Actor { val timeToShutdown = 3000 // msec val bidIncrement = 10 @@ -74,7 +74,7 @@ object auction { val closing = new Date(new Date().getTime() + 4000) val seller = Actor.actor { } - val auction = new Auction(seller, minBid, closing) + val auction = new AuctionActor(seller, minBid, closing) def client(i: int, increment: int, top: int) = new Actor { val name = "Client " + i -- cgit v1.2.3