diff options
author | Paul Phillips <paulp@improving.org> | 2012-12-27 16:00:18 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-12-27 17:05:47 -0800 |
commit | 9575ee9961df08e3e83b473c40f41a1e3548fb8d (patch) | |
tree | 9b69556455793205d957085b6e6950b3cfe9d7f7 /src | |
parent | 1284c3c6f38cc419a0a39fd68b3d5cf81b36b1a5 (diff) | |
download | scala-9575ee9961df08e3e83b473c40f41a1e3548fb8d.tar.gz scala-9575ee9961df08e3e83b473c40f41a1e3548fb8d.tar.bz2 scala-9575ee9961df08e3e83b473c40f41a1e3548fb8d.zip |
Remove -deprecation from partest default options.
Who knows why it was ever like this; it's not like anyone
sees the deprecation warnings. In PR #1807 there is now a
test which depends on partest not making this move, so it's
a good time to finally expunge it.
Diffstat (limited to 'src')
-rw-r--r-- | src/partest/scala/tools/partest/PartestDefaults.scala | 2 | ||||
-rw-r--r-- | src/partest/scala/tools/partest/nest/CompileManager.scala | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/partest/scala/tools/partest/PartestDefaults.scala b/src/partest/scala/tools/partest/PartestDefaults.scala index b27ce6ff75..a21c602d14 100644 --- a/src/partest/scala/tools/partest/PartestDefaults.scala +++ b/src/partest/scala/tools/partest/PartestDefaults.scala @@ -21,7 +21,7 @@ object PartestDefaults { def javaCmd = propOrElse("partest.javacmd", "java") def javacCmd = propOrElse("partest.javac_cmd", "javac") def javaOpts = propOrElse("partest.java_opts", "") - def scalacOpts = propOrElse("partest.scalac_opts", "-deprecation") + def scalacOpts = propOrElse("partest.scalac_opts", "") def testBuild = propOrNone("partest.build") def errorCount = propOrElse("partest.errors", "0").toInt diff --git a/src/partest/scala/tools/partest/nest/CompileManager.scala b/src/partest/scala/tools/partest/nest/CompileManager.scala index 188ebf66ed..3d902d6d00 100644 --- a/src/partest/scala/tools/partest/nest/CompileManager.scala +++ b/src/partest/scala/tools/partest/nest/CompileManager.scala @@ -41,7 +41,6 @@ class ExtConsoleReporter(settings: Settings, val writer: PrintWriter) extends Co class TestSettings(cp: String, error: String => Unit) extends Settings(error) { def this(cp: String) = this(cp, _ => ()) - deprecation.value = true nowarnings.value = false encoding.value = "UTF-8" classpath.value = cp |