mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
provide this(); fix when constructor requires super call (IDEA-151335)
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
// "Insert 'this();'" "true"
|
||||
import java.io.*;
|
||||
|
||||
class c {
|
||||
public c(int i) {
|
||||
}
|
||||
}
|
||||
class a extends c {
|
||||
a(int i) {
|
||||
super(i);
|
||||
}
|
||||
a() {
|
||||
this(<caret>);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user