We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 193b59b commit 0268df8Copy full SHA for 0268df8
adapter/src/main/kotlin/org/javacs/ktda/classpath/PathUtils.kt
@@ -46,4 +46,4 @@ private fun Path.ifExists() = if (Files.exists(this)) this else null
46
private fun Path.withExtension(extension: String) = resolveSibling(fileName.toString() + extension)
47
48
private fun String.capitalizeCharAt(index: Int) =
49
- take(index) + this[index].toUpperCase() + substring(index + 1)
+ take(index) + this[index].uppercaseChar() + substring(index + 1)
0 commit comments