diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-07-21 23:52:28 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-07-21 23:52:28 +0200 |
commit | 59e585a0c68959eb72be34524bdad19df5dc8a4d (patch) | |
tree | 72860f9fce0a62bb1d0e8dbe3a021f4bd8f20ab4 /test/transform/resource/before/CleanupPlain.java | |
parent | 1a9f8f168aa17f77c6e27d0a740b5f7614fb5c90 (diff) | |
download | lombok-59e585a0c68959eb72be34524bdad19df5dc8a4d.tar.gz lombok-59e585a0c68959eb72be34524bdad19df5dc8a4d.tar.bz2 lombok-59e585a0c68959eb72be34524bdad19df5dc8a4d.zip |
refactored the tests to prepare running ecj as well as delombok.
Diffstat (limited to 'test/transform/resource/before/CleanupPlain.java')
-rw-r--r-- | test/transform/resource/before/CleanupPlain.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/transform/resource/before/CleanupPlain.java b/test/transform/resource/before/CleanupPlain.java new file mode 100644 index 00000000..a91ac3c1 --- /dev/null +++ b/test/transform/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 |