Remove deprecated size property usage from generated code.

This commit is contained in:
Ilya Gorbunov
2015-05-22 18:28:49 +03:00
parent 58ef7f2691
commit 01a0348685
2 changed files with 10 additions and 10 deletions
+9 -9
View File
@@ -275,53 +275,53 @@ public fun ShortArray.isNotEmpty(): Boolean {
* Returns the last valid index for the array
*/
public val <T> Array<out T>.lastIndex: Int
get() = size - 1
get() = size() - 1
/**
* Returns the last valid index for the array
*/
public val BooleanArray.lastIndex: Int
get() = size - 1
get() = size() - 1
/**
* Returns the last valid index for the array
*/
public val ByteArray.lastIndex: Int
get() = size - 1
get() = size() - 1
/**
* Returns the last valid index for the array
*/
public val CharArray.lastIndex: Int
get() = size - 1
get() = size() - 1
/**
* Returns the last valid index for the array
*/
public val DoubleArray.lastIndex: Int
get() = size - 1
get() = size() - 1
/**
* Returns the last valid index for the array
*/
public val FloatArray.lastIndex: Int
get() = size - 1
get() = size() - 1
/**
* Returns the last valid index for the array
*/
public val IntArray.lastIndex: Int
get() = size - 1
get() = size() - 1
/**
* Returns the last valid index for the array
*/
public val LongArray.lastIndex: Int
get() = size - 1
get() = size() - 1
/**
* Returns the last valid index for the array
*/
public val ShortArray.lastIndex: Int
get() = size - 1
get() = size() - 1