mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 17:47:53 +07:00
GitOrigin-RevId: db0bb376a5a4c6e57fc7cb6e4038e03cb7a4de93
16 lines
417 B
Java
16 lines
417 B
Java
// "Fix all 'Redundant 'File' instance creation' problems in file" "true"
|
|
import java.io.*;
|
|
import java.util.Formatter;
|
|
|
|
class Main {
|
|
public void main(String[] args) throws IOException {
|
|
new FileInputStream("in.txt");
|
|
new FileOutputStream("in.txt");
|
|
new FileReader("in.txt");
|
|
new FileWriter("in.txt");
|
|
new PrintStream("in.txt");
|
|
new PrintWriter("in.txt");
|
|
new Formatter("in.txt");
|
|
}
|
|
}
|