summaryrefslogtreecommitdiff
path: root/src/partest/scala/tools/partest/ScaladocModelTest.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-07-27 02:45:00 -0700
committerPaul Phillips <paulp@improving.org>2012-07-27 05:42:17 -0700
commit61d1933e29e1730a981edf738c902a39c7d322de (patch)
tree5eb493e812687d05af8628b0ba6c3fe7c1d460cd /src/partest/scala/tools/partest/ScaladocModelTest.scala
parent785c4ddedd68914f7b5667d0e9733e3fddebe1a0 (diff)
downloadscala-61d1933e29e1730a981edf738c902a39c7d322de.tar.gz
scala-61d1933e29e1730a981edf738c902a39c7d322de.tar.bz2
scala-61d1933e29e1730a981edf738c902a39c7d322de.zip
Eliminated remainder of "catches Throwable" warnings.
And also non-exhaustive matches. And added -nowarn to the build options for scalacheck, we don't need to hear the warnings for code we aren't able to fix.
Diffstat (limited to 'src/partest/scala/tools/partest/ScaladocModelTest.scala')
-rw-r--r--src/partest/scala/tools/partest/ScaladocModelTest.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partest/scala/tools/partest/ScaladocModelTest.scala b/src/partest/scala/tools/partest/ScaladocModelTest.scala
index ffc5e74cc0..fa99f03614 100644
--- a/src/partest/scala/tools/partest/ScaladocModelTest.scala
+++ b/src/partest/scala/tools/partest/ScaladocModelTest.scala
@@ -72,7 +72,7 @@ abstract class ScaladocModelTest extends DirectTest {
testModel(universe.rootPackage)
println("Done.")
} catch {
- case e =>
+ case e: Exception =>
println(e)
e.printStackTrace
}