Skip to content
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

Exclude attributes with default values from MoML #310

Open
cxbrooks opened this issue Jul 9, 2012 · 1 comment
Open

Exclude attributes with default values from MoML #310

cxbrooks opened this issue Jul 9, 2012 · 1 comment
Assignees
Labels

Comments

@cxbrooks
Copy link
Member

cxbrooks commented Jul 9, 2012

Note: the issue was created automatically with bugzilla2github tool

Original bug ID: BZ#513
From: @lhstrh
Reported version: 9.1.devel
CC: [email protected]

@cxbrooks
Copy link
Member Author

cxbrooks commented Jul 9, 2012

Once an attribute is changed, it is added to the MoML description of the model. However, when an attribute is set to default again, it will still appear in the MoML description. A check could prevent this. It would only have to compare the new value to the default value which can be retrieved using AbstractSettableAttribute.getDefaultExpression().

@cxbrooks cxbrooks added the MoML label May 15, 2018
@cxbrooks cxbrooks self-assigned this May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant