diff options
author | Paul Phillips <paulp@improving.org> | 2012-01-13 00:16:04 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-01-13 00:16:04 -0800 |
commit | b0de5f13329aa24752fae079c50cc0584471379e (patch) | |
tree | 1fbcfda077fd5306b18b0c2dfe5e3c923f005ab2 /src | |
parent | ceeccd832a12eae7400852303112c4a0ee34ae11 (diff) | |
download | scala-b0de5f13329aa24752fae079c50cc0584471379e.tar.gz scala-b0de5f13329aa24752fae079c50cc0584471379e.tar.bz2 scala-b0de5f13329aa24752fae079c50cc0584471379e.zip |
Removed some unsociable exception behavior.
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/collection/mutable/TreeSet.scala | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/library/scala/collection/mutable/TreeSet.scala b/src/library/scala/collection/mutable/TreeSet.scala index 8039db7cc9..38fa0c953f 100644 --- a/src/library/scala/collection/mutable/TreeSet.scala +++ b/src/library/scala/collection/mutable/TreeSet.scala @@ -9,12 +9,8 @@ package scala.collection package mutable - - import generic._ - - /** * @define Coll mutable.TreeSet * @define coll mutable tree set @@ -87,7 +83,6 @@ class TreeSet[A](implicit val ordering: Ordering[A]) extends SortedSet[A] with S resolve.cardinality = resolve.cardinality - 1 } catch { case e: NoSuchElementException => () - case a: Any => a.printStackTrace } this } @@ -98,7 +93,6 @@ class TreeSet[A](implicit val ordering: Ordering[A]) extends SortedSet[A] with S resolve.cardinality = resolve.cardinality + 1 } catch { case e: IllegalArgumentException => () - case a: Any => a.printStackTrace } this } @@ -126,5 +120,4 @@ class TreeSet[A](implicit val ordering: Ordering[A]) extends SortedSet[A] with S AVLTree.iterator(resolve.avl, isLeftAcceptable(from, ordering), isRightAcceptable(until, ordering)) - } |