mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 23:20:57 +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 {
|
|
long isNewFile(File file, long lastModified) {
|
|
System.out.println(file.isFile());
|
|
while (file.isDirectory()) {
|
|
System.out.println(file.i<caret>sFile());
|
|
System.out.println(file.length());
|
|
}
|
|
return file.lastModified();
|
|
}
|
|
} |