Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Commit 8cc436c

Browse files
authored
Remove Int.getString(vararg) (#172)
* Add a test case * Remove Int.getString(Any) * Revert "Add a test case"
1 parent 7655cbc commit 8cc436c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

common/src/main/kotlin/io/goooler/demoapp/common/util/CommonExtensions.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,6 @@ fun @receiver:ColorRes Int.getColor(): Int = try {
112112

113113
fun @receiver:StringRes Int.getString(): String = StringUtils.getString(this)
114114

115-
fun @receiver:StringRes Int.getString(vararg formatArgs: Any): String =
116-
StringUtils.getString(this, formatArgs)
117-
118115
fun @receiver:PluralsRes Int.getQuantityString(num: Int): String? = try {
119116
CommonApplication.app.resources.getQuantityString(this, num, num)
120117
} catch (e: Exception) {

0 commit comments

Comments
 (0)