Override/Implement members: place members in the same order as super class members
This commit is contained in:
committed by
Dmitry Gridin
parent
a38651c1ec
commit
a3c3ab08fd
@@ -3,6 +3,13 @@ interface Some {
|
||||
}
|
||||
|
||||
class Other {
|
||||
fun test() {
|
||||
val a = 1
|
||||
}
|
||||
fun otherTest() {
|
||||
|
||||
}
|
||||
|
||||
override fun equals(other: Any?): Boolean {
|
||||
<selection><caret>return super.equals(other)</selection>
|
||||
}
|
||||
@@ -14,12 +21,5 @@ class Other {
|
||||
override fun toString(): String {
|
||||
return super.toString()
|
||||
}
|
||||
|
||||
fun test() {
|
||||
val a = 1
|
||||
}
|
||||
fun otherTest() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user