mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 23:20:57 +07:00
15 lines
425 B
Java
15 lines
425 B
Java
// "Replace with bulk 'Files.readAttributes()' call" "true-preview"
|
|
import java.io.*;
|
|
|
|
class Foo {
|
|
long isNewFile(File file, long lastModified) {
|
|
while (file.isDirectory()) {
|
|
System.out.println(file.isFile());
|
|
for (int i = 0; i < 10 && file.isDirectory(); i++) {
|
|
System.out.println(file.i<caret>sFile());
|
|
System.out.println(file.length());
|
|
}
|
|
}
|
|
return file.lastModified();
|
|
}
|
|
} |