-
Notifications
You must be signed in to change notification settings - Fork 28
Bugfix/fix diamond problem & refactoring #1590 #1607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dbinkele
wants to merge
17
commits into
maintenance/mps20241
Choose a base branch
from
bugfix/Fix-Diamond-Problem-&-Refactoring-#1590
base: maintenance/mps20241
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Bugfix/fix diamond problem & refactoring #1590 #1607
dbinkele
wants to merge
17
commits into
maintenance/mps20241
from
bugfix/Fix-Diamond-Problem-&-Refactoring-#1590
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…d-Problem-&-Refactoring-#1590 # Conflicts: # code/languages/org.iets3.opensource/languages/org.iets3.variability.artifacts.base/models/org.iets3.variability.artifacts.base.behavior.mps
kbirken
requested changes
Jan 23, 2026
Member
kbirken
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PivotInfo is gone now, congrats! And finally IConfigListVarPoint had to vanish, R.I.P. :-)
Here are some findings from my code review:
- class
Segment- On the first constructor, there is the statement
this.targetNode = targetIVAA.parent;. This might be wrong, as we allow concepts from artifact DSLs to implement interfaceIVarAA, instead of using aNodeAttribute. Use insteadIVAA.artifactRoot(). - This class should be non-mutable, thus it should not not have a
setTargetmethod. - In order to enforce this in future, all private members should be
final(new).
- On the first constructor, there is the statement
- class
AbstractSkelTreeBuilder- Please implement the new code in method
finish()as member methodpublic ArtifactPath asInstanceOnlyPath()inArtifactPath
- Please implement the new code in method
- class
SkeletonNode- I think method
getPathis deprecated long enough and should be deleted now. - The comment in method
getUniqueLabelin the innerif-statement should be updated now as the condition has been changed. - The methods
targetIVAA()andtargetshould be simplified similar tothis.path.segmentsAsList().findLast({it => it.getTarget().isNotNull; }).?getTarget(); - I would prefer if method
setInstance()could be avoided, as it makes the class even more mutable. But the caller seems to be in IETS3.Core...
- I think method
- class
SkeletonTreeGraphCreator- The code
segments.last.getTargetIVAA().artifactName()could be replaced by using the above methodSkeletonNode.getTargetIVAA().
- The code
Member
Author
|
@kbirken All review findings have been addressed. Please have look again |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
solves #1590