Skip to content

Commit

Permalink
i18n: Remove dead code that should've been detected by the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
gdude2002 committed Nov 23, 2024
1 parent 94a5a16 commit 185f0da
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,6 @@ public open class ResourceBundleTranslations(
}.build()
.formatToString(replacements)
}

val formatter = MessageFormat(string, locale)

return formatter.format(replacements)
}

private fun ResourceBundle.getStringOrNull(key: String): String? {
Expand Down

0 comments on commit 185f0da

Please sign in to comment.