Code Insight: Format generated declarations
#KT-11176 Fixed (cherry picked from commit 3641ad6)
This commit is contained in:
+2
-2
@@ -4,7 +4,7 @@ class A<T>(val n: T) {
|
||||
|
||||
}
|
||||
|
||||
<caret>override fun equals(other: Any?): Boolean{
|
||||
<caret>override fun equals(other: Any?): Boolean {
|
||||
if (this === other) return true
|
||||
if (other !is A<*>) return false
|
||||
|
||||
@@ -13,7 +13,7 @@ class A<T>(val n: T) {
|
||||
return true
|
||||
}
|
||||
|
||||
override fun hashCode(): Int{
|
||||
override fun hashCode(): Int {
|
||||
return n?.hashCode() ?: 0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user