Skip to content

Commit 6237eb5

Browse files
committed
Simplify code
1 parent 0d2bbe6 commit 6237eb5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

utbot-summary/src/main/kotlin/org/utbot/summary/comment/SimpleCommentBuilder.kt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -350,11 +350,7 @@ open class SimpleCommentBuilder(
350350
* to render the reference.
351351
*/
352352
protected fun invokeDescription(className: String, methodName: String, methodParameterTypes: List<Type>): String {
353-
val prettyClassName: String = if (className.contains("$")) {
354-
className.replace("$", ".")
355-
} else {
356-
className
357-
}
353+
val prettyClassName: String = className.replace("$", ".")
358354

359355
return if (methodParameterTypes.isEmpty()) {
360356
"{@link $prettyClassName#$methodName()}"

0 commit comments

Comments
 (0)