Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Jan 18, 2025
1 parent 45b49e6 commit de55054
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/main/kotlin/org/javacs/kt/hover/Hovers.kt
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ private fun renderJavaDoc(text: String): String {
return split.mapIndexed { i, spl ->
when (i) {
0 -> spl.substring(spl.indexOf("/**") + 3) // get rid of the start comment characters
split.size - 1 -> spl.substringsplt.indexOf("*/") + 2) // get rid of the end comment characters
else -> spl.substringsplt.indexOf('*') + 1) // get rid of any leading *
split.size - 1 -> spl.substring(spl.indexOf("*/") + 2) // get rid of the end comment characters
else -> spl.substring(spl.indexOf('*') + 1) // get rid of any leading *
}
}.joinToString("\n")
}
Expand Down

0 comments on commit de55054

Please sign in to comment.