aboutsummaryrefslogtreecommitdiff
path: root/test/delombok
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2009-11-27 02:44:46 +0100
committerRoel Spilker <r.spilker@gmail.com>2009-11-27 02:44:46 +0100
commitc91e3701b9f5cf85a09f998d305895d4d1617206 (patch)
tree8c4a1e3b22e160454149252dca03613d2477d940 /test/delombok
parent86ac271a45e1152272f44fcd81f0c90914853013 (diff)
downloadlombok-c91e3701b9f5cf85a09f998d305895d4d1617206.tar.gz
lombok-c91e3701b9f5cf85a09f998d305895d4d1617206.tar.bz2
lombok-c91e3701b9f5cf85a09f998d305895d4d1617206.zip
Added another test
Diffstat (limited to 'test/delombok')
-rw-r--r--test/delombok/resource/after/Cast.java7
-rw-r--r--test/delombok/resource/before/Cast.java6
2 files changed, 13 insertions, 0 deletions
diff --git a/test/delombok/resource/after/Cast.java b/test/delombok/resource/after/Cast.java
new file mode 100644
index 00000000..a1b455f0
--- /dev/null
+++ b/test/delombok/resource/after/Cast.java
@@ -0,0 +1,7 @@
+import java.util.*;
+public class Cast {
+ public void test(List<?> list) {
+ RandomAccess r = (/*before*/
+ RandomAccess /*after*/)list;
+ }
+} \ No newline at end of file
diff --git a/test/delombok/resource/before/Cast.java b/test/delombok/resource/before/Cast.java
new file mode 100644
index 00000000..95237b0f
--- /dev/null
+++ b/test/delombok/resource/before/Cast.java
@@ -0,0 +1,6 @@
+import java.util.*;
+public class Cast {
+ public void test(List<?> list) {
+ RandomAccess r = (/*before*/ RandomAccess /*after*/)list;
+ }
+} \ No newline at end of file