Java to Kotlin converter: do not generate redundant parenthesis for empty constructor parameters
This commit is contained in:
@@ -2,7 +2,7 @@ trait I {
|
||||
public fun getString(): String
|
||||
}
|
||||
|
||||
class C() {
|
||||
class C {
|
||||
fun foo(i: I, b: Boolean) {
|
||||
var result: String? = i.getString()
|
||||
if (b) result = null
|
||||
|
||||
Reference in New Issue
Block a user