From 73a93505c432b410ae39fb3c4d6168b2e49832ce Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Wed, 13 May 2015 12:08:27 +0200 Subject: Running rewrite tool on run tests. --- tests/pending/run/treePrint.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/pending/run/treePrint.scala') diff --git a/tests/pending/run/treePrint.scala b/tests/pending/run/treePrint.scala index 4a80e2824..8bbf645fa 100644 --- a/tests/pending/run/treePrint.scala +++ b/tests/pending/run/treePrint.scala @@ -27,9 +27,9 @@ object Test { } """ - class NullOutputStream extends OutputStream { def write(b: Int) { } } + class NullOutputStream extends OutputStream { def write(b: Int): Unit = { } } - def main(args: Array[String]) { + def main(args: Array[String]): Unit = { val settings = new Settings settings.classpath.value = System.getProperty("java.class.path") settings.Ycompacttrees.value = true -- cgit v1.2.3