mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 04:37:32 +07:00
[java] "Surround with try-with-resources" template ditched in favor of intention action (IDEA-149130, IDEA-152348)
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
import java.io.*;
|
||||
|
||||
class C {
|
||||
void m(File file) throws IOException {
|
||||
try (FileInputStream fileInputStream = new FileInputStream(file)) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user