mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 04:50:58 +07:00
13 lines
356 B
Java
13 lines
356 B
Java
// "Replace with bulk 'Files.readAttributes()' call" "true-preview"
|
|
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());
|
|
}
|
|
}
|
|
} |