Skip to content

Commit

Permalink
chore: added new @ConsistentCopyVisibility annotation to private cons…
Browse files Browse the repository at this point in the history
…tructor data classes
  • Loading branch information
janniclas committed Aug 23, 2024
1 parent 8fdbc8c commit 74a1039
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ val SCHEMA_VERSIONS: Array<String> = arrayOf(
).sortedArray()

//XXX: add Hierarchy Validator
@ConsistentCopyVisibility
@Serializable
data class KpiHierarchy private constructor(val rootNode: KpiNode, val schemaVersion: String) {
companion object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import de.fraunhofer.iem.kpiCalculator.model.kpi.KpiId
import de.fraunhofer.iem.kpiCalculator.model.kpi.KpiStrategyId
import kotlinx.serialization.Serializable

@ConsistentCopyVisibility
@Serializable
data class KpiResultHierarchy private constructor(val rootNode: KpiResultNode, val schemaVersion: String) {
companion object {
Expand Down

0 comments on commit 74a1039

Please sign in to comment.