Compiler&plugin deprecations cleanup: length, size, indices, tail and other collection operations.

Original commit: 32144257ec
This commit is contained in:
Ilya Gorbunov
2015-06-25 18:49:25 +03:00
parent 85230d7071
commit b2222119e0
@@ -419,7 +419,7 @@ public class IncrementalCacheImpl(targetDataRoot: File) : StorageOwner, Incremen
val size = `in`.readInt()
val map = HashMap<String, Any>(size)
for (i in size.indices) {
repeat(size) {
val name = IOUtil.readString(`in`)!!
val kind = Kind.values()[`in`.readByte().toInt()]
@@ -531,7 +531,7 @@ public class IncrementalCacheImpl(targetDataRoot: File) : StorageOwner, Incremen
val size = `in`.readInt()
val map = HashMap<String, Long>(size)
for (i in size.indices) {
repeat(size) {
val name = IOUtil.readString(`in`)!!
val value = `in`.readLong()