mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-20 22:16:16 +07:00
GitOrigin-RevId: 70cebc3298eea9feb57f7b4f1f4ca7b8b0535c66
11 lines
259 B
Java
11 lines
259 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();
|
|
}
|
|
} |