Playing around with designer
This commit is contained in:
parent
0128940b54
commit
354f739f83
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user