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,11 +1,9 @@
|
||||
class S {
|
||||
companion object {
|
||||
fun sB(): Boolean {
|
||||
return true
|
||||
}
|
||||
object S {
|
||||
fun sB(): Boolean {
|
||||
return true
|
||||
}
|
||||
|
||||
fun sI(): Int {
|
||||
return 1
|
||||
}
|
||||
fun sI(): Int {
|
||||
return 1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user