Skip to content

Commit cf54fe8

Browse files
committed
format
1 parent 8e0d1d4 commit cf54fe8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

model-api/src/commonMain/kotlin/org/modelix/model/data/MetaModelData.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ sealed interface IConceptFeatureData {
4040
}
4141

4242
@Serializable
43-
data class PropertyData (
43+
data class PropertyData(
4444
override val uid: String? = null,
4545
override val name: String,
4646
val type: PropertyType = PropertyType.STRING,

model-api/src/commonMain/kotlin/org/modelix/model/data/ModelData.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ data class NodeData(
7070

7171
fun NodeData.uid(model: ModelData): String {
7272
return (model.id ?: throw IllegalArgumentException("Model has no ID")) +
73-
"/" +
74-
(id ?: throw IllegalArgumentException("Node has no ID"))
73+
"/" +
74+
(id ?: throw IllegalArgumentException("Node has no ID"))
7575
}
76-
fun ModelData.nodeUID(node: NodeData): String = node.uid(this)
76+
fun ModelData.nodeUID(node: NodeData): String = node.uid(this)

0 commit comments

Comments
 (0)