KT-5287 J2K: Convert class with private constructor and static functions to "object" instead of class with "class object"
#KT-5287 Fixed
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
class Test {
|
||||
companion object {
|
||||
var str: String
|
||||
object Test {
|
||||
var str: String
|
||||
|
||||
init {
|
||||
str = "Ola"
|
||||
}
|
||||
init {
|
||||
str = "Ola"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user