mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
9 lines
194 B
Java
9 lines
194 B
Java
// "Adapt argument using 'toPath()'" "true-preview"
|
|
import java.io.*;
|
|
import java.nio.file.*;
|
|
|
|
class Test {
|
|
void test(File file) throws IOException {
|
|
Files.createFile(file.toPath());
|
|
}
|
|
} |