diff options
author | Paul Phillips <paulp@improving.org> | 2009-10-01 19:31:06 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-10-01 19:31:06 +0000 |
commit | 7209116540dee44916214870cc476546b20e0eae (patch) | |
tree | 89bcac677c3558d497043e7f26b8160357109dcc /src/library/scala/collection/immutable/SortedSet.scala | |
parent | d0442a8636e268f051052e4e4ff04225bab4f67e (diff) | |
download | scala-7209116540dee44916214870cc476546b20e0eae.tar.gz scala-7209116540dee44916214870cc476546b20e0eae.tar.bz2 scala-7209116540dee44916214870cc476546b20e0eae.zip |
Fix and test case for #2075.
Diffstat (limited to 'src/library/scala/collection/immutable/SortedSet.scala')
-rw-r--r-- | src/library/scala/collection/immutable/SortedSet.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/immutable/SortedSet.scala b/src/library/scala/collection/immutable/SortedSet.scala index 0fd9365dd1..126b751164 100644 --- a/src/library/scala/collection/immutable/SortedSet.scala +++ b/src/library/scala/collection/immutable/SortedSet.scala @@ -24,7 +24,7 @@ import mutable.Builder */ trait SortedSet[A] extends Set[A] with scala.collection.SortedSet[A] with SortedSetLike[A, SortedSet[A]] { /** Needs to be overridden in subclasses. */ - override def empty: SortedSet[A] = throw new UnsupportedOperationException("SortedMap.empty") + override def empty: SortedSet[A] = SortedSet.empty[A] } /** |