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
@@ -2,7 +2,7 @@
// !specifyLocalVariableTypeByDefault: true
import java.util.BitSet
class Foo() {
class Foo {
fun foo(o: BitSet?) {
val o2: BitSet? = o
var foo: Int = 0
@@ -1,6 +1,6 @@
import java.util.BitSet
class Foo() {
class Foo {
fun foo(o: BitSet) {
val o2 = o
var foo = 0