Code Insight: Format generated declarations

#KT-11176 Fixed
(cherry picked from commit 3641ad6)
This commit is contained in:
Alexey Sedunov
2016-06-30 15:02:14 +03:00
parent a33f946c14
commit 3ba776fffa
51 changed files with 57 additions and 69 deletions
@@ -5,7 +5,7 @@ class A(val n: Int?, val s: String) {
}
<caret>override fun equals(other: Any?): Boolean{
<caret>override fun equals(other: Any?): Boolean {
if (this === other) return true
if (other?.javaClass != javaClass) return false
@@ -18,7 +18,7 @@ class A(val n: Int?, val s: String) {
return true
}
override fun hashCode(): Int{
override fun hashCode(): Int {
var result = n ?: 0
result = 31 * result + s.hashCode()
result = 31 * result + (f?.hashCode() ?: 0)