aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test3/Erasure.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test3/Erasure.java')
-rw-r--r--src/test/test3/Erasure.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test3/Erasure.java b/src/test/test3/Erasure.java
index 412f439a..7514981a 100644
--- a/src/test/test3/Erasure.java
+++ b/src/test/test3/Erasure.java
@@ -9,6 +9,7 @@ public class Erasure<T> {
public Erasure(T t) { value = t; }
public Erasure() { value = null; }
public int run() {
+ @SuppressWarnings("unchecked")
ErasureGet<String> obj = (ErasureGet<String>)new Erasure<String>("1234");
return obj.get().length();
}