mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
default -> companion: replace all mentions of default and default object
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
class Klass {
|
||||
default object {
|
||||
companion object {
|
||||
val NAME = "Klass"
|
||||
}
|
||||
}
|
||||
|
||||
trait Trait {
|
||||
default object {
|
||||
companion object {
|
||||
val NAME = "Trait"
|
||||
}
|
||||
}
|
||||
|
||||
enum class Enoom {
|
||||
default object {
|
||||
companion object {
|
||||
val NAME = "Enoom"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user