mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
a test for smart completion in try-with-resources
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
class MyClass {
|
||||
static class MyResource implements AutoCloseable { }
|
||||
|
||||
void f(MyResource resource) {
|
||||
try (final MyResource c = resource<caret>) {
|
||||
}
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
class MyClass {
|
||||
static class MyResource implements AutoCloseable { }
|
||||
|
||||
void f(MyResource resource) {
|
||||
try (final MyResource c = r<caret>) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user