mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-01 21:20:54 +07:00
14 lines
207 B
Java
14 lines
207 B
Java
// "Adapt argument using 'new File()'" "true-preview"
|
|
import java.io.File;
|
|
|
|
class Test {
|
|
|
|
void m() {
|
|
new FileReader(new File("my.txt"));
|
|
}
|
|
}
|
|
|
|
class FileReader {
|
|
public FileReader(File file) {
|
|
}
|
|
} |