Remove old 'get' delegate convention in interfaces

This commit is contained in:
Yan Zhulanow
2015-10-12 01:31:00 +03:00
parent 6d2f9cc669
commit bc3d1ddda0
20 changed files with 11 additions and 74 deletions
@@ -25,7 +25,7 @@ public class CachedValueProperty<TValue : Any, TTimestamp : Any>(
private var value: TValue? = null
private var timestamp: TTimestamp? = null
public override fun get(thisRef: Any?, desc: PropertyMetadata): TValue {
public override fun getValue(thisRef: Any?, desc: PropertyMetadata): TValue {
val currentTimestamp = timestampCalculator()
if (value == null || timestamp != currentTimestamp) {
value = calculator()