Java to Kotlin converter: do not generate redundant parenthesis for empty constructor parameters

This commit is contained in:
Valentin Kipyatkov
2014-06-25 18:21:15 +04:00
parent 947bf3c0ed
commit 5a5e553367
207 changed files with 266 additions and 268 deletions
@@ -1,4 +1,4 @@
class X() {
class X {
override fun hashCode(): Int {
return super.hashCode()
}
@@ -17,7 +17,7 @@ class X() {
}
}
class Y() : Thread() {
class Y : Thread() {
throws(javaClass<CloneNotSupportedException>())
override fun clone(): Any {
return super.clone()