summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/mutable/SynchronizedQueue.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/collection/mutable/SynchronizedQueue.scala')
-rw-r--r--src/library/scala/collection/mutable/SynchronizedQueue.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/mutable/SynchronizedQueue.scala b/src/library/scala/collection/mutable/SynchronizedQueue.scala
index 19f4813301..6bc0d83b1b 100644
--- a/src/library/scala/collection/mutable/SynchronizedQueue.scala
+++ b/src/library/scala/collection/mutable/SynchronizedQueue.scala
@@ -60,7 +60,7 @@ class SynchronizedQueue[A] extends Queue[A] {
*
* @return the first element of the queue.
*/
- override def dequeue: A = synchronized { super.dequeue }
+ override def dequeue(): A = synchronized { super.dequeue }
/** Returns the first element in the queue, or throws an error if there
* is no element contained in the queue.