diff options
author | Roel Spilker <r.spilker@gmail.com> | 2009-12-01 23:23:35 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2009-12-01 23:31:12 +0100 |
commit | 2aebaff46026dbfa447fd7454472e88c41dc8103 (patch) | |
tree | 609c69c3cd5277e861315a2b23deb86a8e5c2de9 /test/delombok/resource/after/CleanupPlain.java | |
parent | 2a56f341d0073099859db815caf9d455f74e6198 (diff) | |
download | lombok-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/after/CleanupPlain.java')
-rw-r--r-- | test/delombok/resource/after/CleanupPlain.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/delombok/resource/after/CleanupPlain.java b/test/delombok/resource/after/CleanupPlain.java new file mode 100644 index 00000000..35d51543 --- /dev/null +++ b/test/delombok/resource/after/CleanupPlain.java @@ -0,0 +1,18 @@ +import java.io.*; +class CleanupPlain { + void test() throws Exception { + InputStream in = new FileInputStream("in"); + try { + OutputStream out = new FileOutputStream("out"); + try { + if (in.markSupported()) { + out.flush(); + } + } finally { + out.close(); + } + } finally { + in.close(); + } + } +} |