mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 03:51:12 +07:00
24 lines
455 B
Java
24 lines
455 B
Java
|
|
|
|
|
|
import java.io.File;
|
|
import java.io.IOException;
|
|
interface I {
|
|
void m(String s) throws IOException;
|
|
}
|
|
class Test {
|
|
public void test() throws IOException {
|
|
File file = new File("temp");
|
|
try {
|
|
for(int t = 0; t < 4; ++t) {
|
|
for (int i = 0; i < 10; ++i) {
|
|
I appender = out -> File.createTempFile("", "").exists();
|
|
appender.m("");
|
|
}
|
|
}
|
|
}
|
|
finally {
|
|
System.out.println(file);
|
|
}
|
|
}
|
|
} |