mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 23:20:57 +07:00
11 lines
261 B
Java
11 lines
261 B
Java
// "Replace with bulk 'Files.readAttributes()' call" "true"
|
|
import java.io.*;
|
|
|
|
class Foo {
|
|
long isNewFile(File file, long lastModified) {
|
|
if (file.isDirecto<caret>ry()) {
|
|
System.out.println(file.isFile());
|
|
}
|
|
return file.lastModified();
|
|
}
|
|
} |