mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 20:33:31 +07:00
GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
11 lines
269 B
Java
11 lines
269 B
Java
// "Replace with bulk 'Files.readAttributes()' call" "true-preview"
|
|
import java.io.*;
|
|
|
|
class Foo {
|
|
long isNewFile(File file, long lastModified) {
|
|
if (file.isDirecto<caret>ry()) {
|
|
System.out.println(file.isFile());
|
|
}
|
|
return file.lastModified();
|
|
}
|
|
} |