Permalink
Browse files

add 'override' for scala/scala#5331

  • Loading branch information...
1 parent 0b81b65 commit f9982326ca90582c7e4836cc4836a687bc09de8c @adriaanm adriaanm committed with szeiger Aug 13, 2016
@@ -173,7 +173,7 @@ private[util] final class InternalArrayQueue[E >: Null <: AnyRef](capacity: Int)
x
}
- def remove(): Unit = throw new UnsupportedOperationException
+ override def remove(): Unit = throw new UnsupportedOperationException
}
}
@@ -209,7 +209,7 @@ class ManagedArrayBlockingQueue[E >: Null <: PrioritizedRunnable](maximumInUse:
}
}
- def remove(): Unit = throw new UnsupportedOperationException
+ override def remove(): Unit = throw new UnsupportedOperationException
}
@inline private[this] def locked[T](f: => T) = {

0 comments on commit f998232

Please sign in to comment.