Skip to content

Commit

Permalink
fix: fix data issues
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Dec 14, 2023
1 parent d78229a commit 0e3e2d7
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 49 deletions.
6 changes: 0 additions & 6 deletions unit-core/src/main/kotlin/cc/unitmesh/core/ContextBuilder.kt

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fun CodeDataStruct.toUml(): String {
val methodCodes = methodsWithoutGetterSetter
.joinToString("\n") { method ->
val params =
method.Parameters.joinToString("") { parameter -> "${parameter.TypeValue}: ${parameter.TypeType}" }
method.Parameters.joinToString(",") { parameter -> "${parameter.TypeValue}: ${parameter.TypeType}" }
" + ${method.Name}($params)" + if (method.ReturnType.isNotBlank()) ": ${method.ReturnType}" else ""
}

Expand Down

0 comments on commit 0e3e2d7

Please sign in to comment.