Files
openide/plugins/lombok/testData/after/CleanupPlain.java
Michail Plushnikov 5df26b4b2e updated expected tests
GitOrigin-RevId: 2d8405a4a852ac2a1c3c40f3e0948bffcb2152cd
2019-10-03 14:42:57 +03:00

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();
}
}
}
}