mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-01 12:50:56 +07:00
14 lines
200 B
Java
14 lines
200 B
Java
// "Adapt argument using 'new File()'" "true-preview"
|
|
import java.io.File;
|
|
|
|
class Test {
|
|
|
|
void m() {
|
|
readFile(new File("my.txt"));
|
|
}
|
|
|
|
static String readFile(File f) {
|
|
return null;
|
|
}
|
|
|
|
} |