mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] "Surround with try-with-resources" template ditched in favor of intention action (IDEA-149130, IDEA-152348)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import java.io.*;
|
||||
import java.net.*;
|
||||
|
||||
class C {
|
||||
public void read(URLConnection connection) {
|
||||
try (InputStream stream = connection.getInputStream()) {<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user