mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
19 lines
339 B
Java
19 lines
339 B
Java
// "Surround with try/catch" "true-preview"
|
|
import java.io.*;
|
|
|
|
class C {
|
|
public void m() {
|
|
class Local {
|
|
InputStream in;
|
|
|
|
{
|
|
try {
|
|
in = new FileInputStream("");
|
|
} catch (FileNotFoundException e) {
|
|
throw new RuntimeException(e);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|