aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource/before/CleanupPlain.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2009-12-01 23:23:35 +0100
committerRoel Spilker <r.spilker@gmail.com>2009-12-01 23:31:12 +0100
commit2aebaff46026dbfa447fd7454472e88c41dc8103 (patch)
tree609c69c3cd5277e861315a2b23deb86a8e5c2de9 /test/delombok/resource/before/CleanupPlain.java
parent2a56f341d0073099859db815caf9d455f74e6198 (diff)
downloadlombok-2aebaff46026dbfa447fd7454472e88c41dc8103.tar.gz
lombok-2aebaff46026dbfa447fd7454472e88c41dc8103.tar.bz2
lombok-2aebaff46026dbfa447fd7454472e88c41dc8103.zip
Moved test resource files to a better matching location
Diffstat (limited to 'test/delombok/resource/before/CleanupPlain.java')
-rw-r--r--test/delombok/resource/before/CleanupPlain.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/delombok/resource/before/CleanupPlain.java b/test/delombok/resource/before/CleanupPlain.java
new file mode 100644
index 00000000..a91ac3c1
--- /dev/null
+++ b/test/delombok/resource/before/CleanupPlain.java
@@ -0,0 +1,11 @@
+import lombok.Cleanup;
+import java.io.*;
+class CleanupPlain {
+ void test() throws Exception {
+ @lombok.Cleanup InputStream in = new FileInputStream("in");
+ @Cleanup OutputStream out = new FileOutputStream("out");
+ if (in.markSupported()) {
+ out.flush();
+ }
+ }
+} \ No newline at end of file