aboutsummaryrefslogtreecommitdiff
path: root/test/lombok/resource/before/CleanupPlain.java
blob: 6cf0906236df8ceeb1c7b68cfa25fbaeeac52fb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//ignore
import lombok.Cleanup;
import java.io.*;
class Cleanup {
	void test() throws Exception {
		@lombok.Cleanup InputStream in = new FileInputStream("in");
		@Cleanup OutputStream out = new FileOutputStream("out");
		if (in.markSupported()) {
			out.flush();
		}
	}
}