mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
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");
|
|
}
|
|
}
|