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:
@@ -4,10 +4,8 @@ class Container {
|
||||
var myString = "1"
|
||||
}
|
||||
|
||||
class One {
|
||||
companion object {
|
||||
var myContainer = Container()
|
||||
}
|
||||
object One {
|
||||
var myContainer = Container()
|
||||
}
|
||||
|
||||
class StringContainer(s: String)
|
||||
|
||||
Reference in New Issue
Block a user