Use uppercase() instead of uppercase(Locale) in CliJavaModuleFinder
It follows the 877438b1f3 commit removing LV/AV limits for the module and it needed to avoid, for example, cases when `i` is being uppercased to `İ` in the `TR` locale
This commit is contained in:
committed by
Space Team
parent
169ef4874f
commit
e8ab063dc9
+1
-1
@@ -177,7 +177,7 @@ class CliJavaModuleFinder(
|
||||
)
|
||||
}
|
||||
|
||||
private fun codeFor(release: Int): String = release.toString(36).uppercase(Locale.getDefault())
|
||||
private fun codeFor(release: Int): String = release.toString(36).uppercase()
|
||||
|
||||
private fun matchesRelease(fileName: String, release: Int) =
|
||||
!fileName.contains("-") && fileName.contains(codeFor(release)) // skip `*-modules`
|
||||
|
||||
Reference in New Issue
Block a user