mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-05 12:50:18 +07:00
13 lines
346 B
Java
13 lines
346 B
Java
// "Replace with bulk 'Files.readAttributes' call" "true"
|
|
import java.io.*;
|
|
|
|
class Foo {
|
|
void printWhileDirectory(File file) {
|
|
System.out.println(file<caret>.isFile());
|
|
System.out.println(file.lastModified());
|
|
while (file.isDirectory()) {
|
|
System.out.println(file.isFile());
|
|
System.out.println(file.length());
|
|
}
|
|
}
|
|
} |