mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
26 lines
518 B
Java
26 lines
518 B
Java
// Generated by delombok at Wed Oct 02 19:12:43 GMT 2019
|
|
|
|
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 {
|
|
if (java.util.Collections.singletonList(out).get(0) != null) {
|
|
out.close();
|
|
}
|
|
}
|
|
} finally {
|
|
if (java.util.Collections.singletonList(in).get(0) != null) {
|
|
in.close();
|
|
}
|
|
}
|
|
}
|
|
}
|