mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
GitOrigin-RevId: 3270642202a3b62c8e787143ee4b9bfcc72f30c5
11 lines
274 B
Java
11 lines
274 B
Java
import java.io.*;
|
|
import java.nio.file.*;
|
|
|
|
class C {
|
|
public boolean isRelativeDirectory() {
|
|
String fileName = "foo";
|
|
if (Paths.get(fileName<caret>).isAbsolute()) return false;
|
|
System.out.println(fileName);
|
|
return Files.isDirectory(Path.of(fileName));
|
|
}
|
|
} |