Replace get() and set() to getValue() and setValue() (property delegates)
This commit is contained in:
@@ -3,12 +3,12 @@ class A {
|
||||
}
|
||||
|
||||
class Delegate {
|
||||
fun get(t: Int, p: PropertyMetadata): Int {
|
||||
fun getValue(t: Int, p: PropertyMetadata): Int {
|
||||
t.equals(p) // to avoid UNUSED_PARAMETER warning
|
||||
return 1
|
||||
}
|
||||
|
||||
fun get(t: String, p: PropertyMetadata): Int {
|
||||
fun getValue(t: String, p: PropertyMetadata): Int {
|
||||
t.equals(p) // to avoid UNUSED_PARAMETER warning
|
||||
return 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user