aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource/before
diff options
context:
space:
mode:
authorunknown <roels@.tis.local>2009-11-26 17:12:41 +0100
committerunknown <roels@.tis.local>2009-11-26 17:12:41 +0100
commitf22021ca7808af2cd0ba03b7c34b8fd3758ff44b (patch)
tree4469642756c7f9b06686d8a703235ac701385b2b /test/delombok/resource/before
parent6cd3b8a8ca4809efd2001473f31c881c9f2381ea (diff)
downloadlombok-f22021ca7808af2cd0ba03b7c34b8fd3758ff44b.tar.gz
lombok-f22021ca7808af2cd0ba03b7c34b8fd3758ff44b.tar.bz2
lombok-f22021ca7808af2cd0ba03b7c34b8fd3758ff44b.zip
Minor refactoring + added testcase for for-loop
Diffstat (limited to 'test/delombok/resource/before')
-rw-r--r--test/delombok/resource/before/ForLoop.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/delombok/resource/before/ForLoop.java b/test/delombok/resource/before/ForLoop.java
new file mode 100644
index 00000000..2bed7f9b
--- /dev/null
+++ b/test/delombok/resource/before/ForLoop.java
@@ -0,0 +1,12 @@
+public class ForLoop {
+
+ public static void main(String[] args) {
+ // before loop
+ for (int i = 0; i < 10; i++) {
+ // start of block
+ System.out.println(i);
+ // end of block
+ }
+ // after loop
+ }
+}