diff options
author | Martin Odersky <odersky@gmail.com> | 2007-03-05 14:21:28 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2007-03-05 14:21:28 +0000 |
commit | 2c11ab6c75c4389a35d029aeb69d5d437e83a85a (patch) | |
tree | 6353eaeeb6e075f6e6844c87f61f7ab63cf71593 /src/library/scala/collection/mutable/QueueProxy.scala | |
parent | 0d03cad11528942ccdd8917b6d106b1dbb9afa79 (diff) | |
download | scala-2c11ab6c75c4389a35d029aeb69d5d437e83a85a.tar.gz scala-2c11ab6c75c4389a35d029aeb69d5d437e83a85a.tar.bz2 scala-2c11ab6c75c4389a35d029aeb69d5d437e83a85a.zip |
fixed bugs 948/971;
added () to parameterless methods with side-effects.
Diffstat (limited to 'src/library/scala/collection/mutable/QueueProxy.scala')
-rw-r--r-- | src/library/scala/collection/mutable/QueueProxy.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/mutable/QueueProxy.scala b/src/library/scala/collection/mutable/QueueProxy.scala index e882303db2..dc880edd71 100644 --- a/src/library/scala/collection/mutable/QueueProxy.scala +++ b/src/library/scala/collection/mutable/QueueProxy.scala @@ -71,7 +71,7 @@ trait QueueProxy[A] extends Queue[A] with SeqProxy[A] { * * @return the first element of the queue. */ - override def dequeue: A = self.dequeue + override def dequeue(): A = self.dequeue /** Returns the first element in the queue, or throws an error if there * is no element contained in the queue. |