Update SynchronizedQueue.java

Rolling back latest changes