From 7595671ec3929aa4ac978826521300a900250214 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 19 May 2011 20:05:44 +0000 Subject: Suppress unwanted noise generated by javac when... Suppress unwanted noise generated by javac when compiling test case for #1263. formerly the test case caused this to be printed: Note: test/files/pos/t1263/Test.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. we suppress this using @SuppressWarnings. Contributed by Seth Tisue, no review. --- test/files/jvm/deprecation/Test_1.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/files/jvm/deprecation') diff --git a/test/files/jvm/deprecation/Test_1.scala b/test/files/jvm/deprecation/Test_1.scala index 92173f94e2..0a5b607037 100644 --- a/test/files/jvm/deprecation/Test_1.scala +++ b/test/files/jvm/deprecation/Test_1.scala @@ -8,9 +8,9 @@ class Test { val w = i.buz() } - @deprecated("no longer!") class Inner { - @deprecated("uncool") def f: Int = 1 - @deprecated("this one as well!") var g = -1 + @deprecated("no longer!", "") class Inner { + @deprecated("uncool", "") def f: Int = 1 + @deprecated("this one as well!", "") var g = -1 } } -- cgit v1.2.3