mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 02:24:00 +07:00
GitOrigin-RevId: 4d6a5487576dbbc4aca9c89b067eec8218aff686
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());
|
|
}
|
|
} |