New J2K: add default null value to property with type parameter type when it is implicit in Java
#KT-32436 fixed
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
public class JClass<T> {
|
||||
private T name;
|
||||
public T getName() {
|
||||
return name;
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class JClass<T> {
|
||||
val name: T? = null
|
||||
}
|
||||
Reference in New Issue
Block a user