J2K: coversion of specially mapped built-in methods + replacing "get" with "[]" where possible

This commit is contained in:
Valentin Kipyatkov
2015-10-16 22:45:19 +03:00
parent 50f559a1c8
commit dc909ac166
29 changed files with 327 additions and 57 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ internal class A {
}
fun bar(collection: MutableCollection<String>) {
if (collection.size() < 5) {
if (collection.size < 5) {
foo(collection)
} else {
collection.add("a")