微调注解
This commit is contained in:
1 parent
b8840131ab
commit
1db2837506
1 file changed
+4
-1
@@ -446,7 +446,10 @@ open class UiObject(
|
|||||||
.flatten())
|
.flatten())
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun listAliases(@Suppress("SameParameterValue") symbol: String, vararg others: String): Array<String> {
|
private fun listAliases(
|
||||||
|
@Suppress("SameParameterValue") symbol: String,
|
||||||
|
@Suppress("SameParameterValue") vararg others: String
|
||||||
|
): Array<String> {
|
||||||
return arrayOf("$symbol{}", "{$symbol}").plus(others.map { listOf("$it{}", "{$it}") }.flatten())
|
return arrayOf("$symbol{}", "{$symbol}").plus(others.map { listOf("$it{}", "{$it}") }.flatten())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user