summaryrefslogtreecommitdiff
path: root/test/files/pos/t1263
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-05-19 20:05:44 +0000
committerPaul Phillips <paulp@improving.org>2011-05-19 20:05:44 +0000
commit7595671ec3929aa4ac978826521300a900250214 (patch)
treec9ca84eaa6eae78ebde292b10106a22998c75183 /test/files/pos/t1263
parentccceeeb179c4d60155b6c5c9a96c8497ce25398f (diff)
downloadscala-7595671ec3929aa4ac978826521300a900250214.tar.gz
scala-7595671ec3929aa4ac978826521300a900250214.tar.bz2
scala-7595671ec3929aa4ac978826521300a900250214.zip
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.
Diffstat (limited to 'test/files/pos/t1263')
-rw-r--r--test/files/pos/t1263/Test.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/pos/t1263/Test.java b/test/files/pos/t1263/Test.java
index 6ca88c21a1..1718a99090 100644
--- a/test/files/pos/t1263/Test.java
+++ b/test/files/pos/t1263/Test.java
@@ -4,6 +4,7 @@ import java.rmi.RemoteException;
import test.Map;
+@SuppressWarnings("unchecked")
public class Test implements Map<String, String> {
public Map.MapTo plus(String o) {
return null;