https://kotlinlang.org logo
Title
e

Ellen Spertus

05/10/2022, 6:27 PM
I'm reviewing some Kotlin code, and the KDoc comments look like this:
/**
 * Blah blah blah.
 * */
Is the close to the comment "`* */`" something you've seen in the wild? The documentation shows "`*/`". https://kotlinlang.org/docs/kotlin-doc.html#generate-the-documentation
m

Matthew Gast

05/10/2022, 6:49 PM
The author probably overlooked (or was too lazy to fix) what looks like IDE auto-formatting. I usually see KDoc/Javadoc comments closed with
**/
or
*/
but as long as it properly closes the comments block I wouldn't worry about it.
🙏 1
👆 1