mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-27 18:23:24 +00:00
11 lines
267 B
Java
11 lines
267 B
Java
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();
|
|
}
|
|
}
|
|
} |