Java to Kotlin converter: no explicit type for private and internal fields when possible
This commit is contained in:
@@ -11,7 +11,7 @@ class A() {
|
||||
/* body is empty */
|
||||
}
|
||||
|
||||
private /*it's private*/ var field: Int = 0
|
||||
private /*it's private*/ var field = 0
|
||||
|
||||
public /*it's public*/ fun foo(): Char {
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
class A() {
|
||||
private var isOpen: Boolean = true // ideally should be atomic boolean
|
||||
private var isOpen = true // ideally should be atomic boolean
|
||||
}
|
||||
Reference in New Issue
Block a user