mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
replace constructor with factory: insert class type parameters for default constructor(IDEA-104858)
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
class Test<A,B,C> {
|
||||
private Test() {
|
||||
}
|
||||
|
||||
static <A, B, C> Test<A, B, C> newTest() {
|
||||
return new Test<A, B, C>();
|
||||
}
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
class Te<caret>st<A,B,C> {
|
||||
}
|
||||
Reference in New Issue
Block a user