mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 10:51:06 +07:00
12 lines
296 B
Java
12 lines
296 B
Java
// "Replace with bulk 'Files.readAttributes()' call" "true-preview"
|
|
import java.io.*;
|
|
|
|
class Foo {
|
|
void printDirectory(File file) {
|
|
try {
|
|
Callable<Boolean> r = () -> file.isDirec<caret>tory() && file.isFile();
|
|
throw new IOException("");
|
|
} catch (IOException e) {
|
|
}
|
|
}
|
|
} |