aboutsummaryrefslogtreecommitdiff
path: root/test/lombok/resource/before/CleanupPlain.java
blob: a91ac3c1f888f346e08a305a50d2a10cebffcdd6 (plain)
1
2
3
4
5
6
7
8
9
10
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();
		}
	}
}