package com.whippy.sponge.auction.orchestrator;

import org.spongepowered.api.entity.player.Player;

import com.whippy.sponge.auction.beans.Auction;

public class Auctioneer {

	
	public int pushAuctionToQueue(Auction auction){
		return 1;
	}
	
	public void cancel(Player player){
	}

	public void bid(Player player) {
		
	}
	public void bid(Player player, double bid) {
		
	}
	public void bid(Player player, double bid, double max) {
		
	}
	
}

@@ -180,16 +180,29 @@
 %09public 
+synchronized 
 int push
@@ -255,24 +255,37 @@
 %7D%0A%09%0A%09public 
+synchronized 
 void cancel(
@@ -304,32 +304,45 @@
 r)%7B%0A%09%7D%0A%0A%09public 
+synchronized 
 void bid(Player 
@@ -357,32 +357,45 @@
 %7B%0A%09%09%0A%09%7D%0A%09public 
+synchronized 
 void bid(Player 
@@ -430,16 +430,29 @@
 %09public 
+synchronized 
 void bid

Make Auctioneer syncrhonized