mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 05:09:37 +07:00
12 lines
278 B
Java
12 lines
278 B
Java
// "Replace with bulk 'Files.readAttributes()' call" "true-preview"
|
|
import java.io.*;
|
|
|
|
class Foo {
|
|
boolean printDirectory(File file) {
|
|
try {
|
|
return file.isDirec<caret>tory() && file.isFile();
|
|
throw new IOException("");
|
|
} catch (IOException e) {
|
|
}
|
|
}
|
|
} |