Update ProducerConsumerThread.java