File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
model-api/src/commonMain/kotlin/org/modelix/model/api Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,9 @@ interface INode {
54
54
* @param concept the concept of the new node
55
55
* @return replacement for this node with the new given concept
56
56
*/
57
- fun replaceNode (concept : ConceptReference ): INode
57
+ fun replaceNode (concept : ConceptReference ): INode {
58
+ throw UnsupportedOperationException () // Default implementation to avoid breaking change
59
+ }
58
60
59
61
/* *
60
62
* Role of this node in its parent node if it exists,or null otherwise.
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ interface ITreeChangeVisitor {
31
31
*
32
32
* @param nodeId id of the affected node
33
33
*/
34
- fun conceptChanged (nodeId : Long )
34
+ fun conceptChanged (nodeId : Long ) {} // Noop default implementation to avoid breaking change
35
35
36
36
/* *
37
37
* Called when the children of a node have changed.
You can’t perform that action at this time.
0 commit comments