Skip to content

Commit 63afd14

Browse files
committed
ST6RI-964 Fixed bug in Type_ownedDisjoining_SettingDelegate.basicGet.
- Tests pass.
1 parent f91b926 commit 63afd14

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Binary file not shown.

org.omg.sysml.logic/src/main/java/org/omg/sysml/delegate/setting/Type_ownedDisjoining_SettingDelegate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*******************************************************************************
22
* SysML 2 Pilot Implementation
33
* Copyright (c) 2022 Siemens AG
4-
* Copyright (c) 2022 Model Driven Solutions, Inc.
4+
* Copyright (c) 2022, 2026 Model Driven Solutions, Inc.
55
*
66
* This program is free software: you can redistribute it and/or modify
77
* it under the terms of the Eclipse Public License as published by
@@ -40,7 +40,7 @@ protected EList<?> basicGet(InternalEObject owner) {
4040
((Type)owner).getOwnedRelationship().stream().
4141
filter(Disjoining.class::isInstance).
4242
map(Disjoining.class::cast).
43-
filter(gen->gen.getTypeDisjoined() == this).
43+
filter(gen->gen.getTypeDisjoined() == owner).
4444
forEachOrdered(disjoinings::add);
4545
return disjoinings;
4646
}

0 commit comments

Comments
 (0)