Converter:

Do not generate redundant visibility modifier for overrides
This commit is contained in:
Pavel V. Talanov
2013-11-21 16:15:06 +04:00
parent d98d8cfa7f
commit 38f5361021
15 changed files with 43 additions and 42 deletions
+3 -3
View File
@@ -11,13 +11,13 @@ return getJavaClass<Base>.getName() + '@' + Integer.toHexString(hashCode())
}
}
class Child() : Base() {
public override fun hashCode() : Int {
override fun hashCode() : Int {
return super.hashCode()
}
public override fun equals(o : Any) : Boolean {
override fun equals(o : Any) : Boolean {
return super.equals(o)
}
public override fun toString() : String {
override fun toString() : String {
return super.toString()
}
}