aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/ValInFor.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-11-09 20:37:25 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-11-09 20:37:25 +0100
commit46d471e9c3dc32b03c34804df1819739a4dffc50 (patch)
tree9c31d75426bf8fdb1943bef2a996485640f7bf5e /test/transform/resource/before/ValInFor.java
parent92b7efac48c18f22b81098cf1d844a891bb71648 (diff)
parent98d8a9f63b3183005174abb7691a1692347b9a2e (diff)
downloadlombok-46d471e9c3dc32b03c34804df1819739a4dffc50.tar.gz
lombok-46d471e9c3dc32b03c34804df1819739a4dffc50.tar.bz2
lombok-46d471e9c3dc32b03c34804df1819739a4dffc50.zip
Merge branch 'master' into annoGetSet
Diffstat (limited to 'test/transform/resource/before/ValInFor.java')
-rw-r--r--test/transform/resource/before/ValInFor.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/transform/resource/before/ValInFor.java b/test/transform/resource/before/ValInFor.java
new file mode 100644
index 00000000..af13540e
--- /dev/null
+++ b/test/transform/resource/before/ValInFor.java
@@ -0,0 +1,20 @@
+public class ValInFor {
+ {
+ val x = 10;
+ val x2 = -1;
+ val a = "Hello";
+ for (val y = x, z = x2; y < 20; y++) {
+ val q = y;
+ val w = z;
+ val v = a;
+ }
+ }
+
+/* public void enhancedFor() {
+ java.util.List<String> list = java.util.Arrays.asList("Hello, World!");
+ for (val shouldBeString : list) {
+ System.out.println(shouldBeString.toLowerCase());
+ val shouldBeString2 = shouldBeString;
+ }
+ }*/
+} \ No newline at end of file