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) {
|
||||
if (i.getString() == null) {
|
||||
println("null")
|
||||
|
||||
Reference in New Issue
Block a user