File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
model-api-gen/src/main/kotlin/org/modelix/metamodel/generator Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ class NameConfig : Serializable {
11
11
val typedConceptImpl = ConfigurableName (prefix = " _C_TypedImpl_" )
12
12
}
13
13
14
- private val UNMODIFED_SIMPLE_NAME : (String ) -> String = {
14
+ private val UNMODIFIED_SIMPLE_NAME : (String ) -> String = {
15
15
require(! it.contains(" ." )) { " Simple name expected, but full-qualified name provided: $it " }
16
16
it
17
17
}
18
18
class ConfigurableName (
19
19
var prefix : String = " " ,
20
20
var suffix : String = " " ,
21
- var baseNameConversion : (String ) -> String = UNMODIFED_SIMPLE_NAME
21
+ var baseNameConversion : (String ) -> String = UNMODIFIED_SIMPLE_NAME
22
22
) : Serializable {
23
23
operator fun invoke (baseName : String ): String {
24
24
return prefix + baseNameConversion(baseName) + suffix
You can’t perform that action at this time.
0 commit comments