fixed checkstyle for queue.