Playing around with designer

This commit is contained in:
7u83 2016-12-26 04:34:18 +01:00
parent 0128940b54
commit 354f739f83
1 changed files with 2 additions and 2 deletions

View File

@ -110,8 +110,8 @@ public class Exchange extends Thread {
public void CancelOrder(Order o) {
Lock();
// System.out.println("Cancel BuyOrder");
bid.remove(o);
ask.remove(o);
bid.remove((BuyOrder)o);
ask.remove((SellOrder)o);
o.status = OrderStatus.canceled;
Unlock();