Fixed syntax errors in Queue.java

No conceptual changes, just details