cxbrooks / test

Second test for bugzilla to git
0 stars 0 forks source link

Exclude attributes with default values from MoML #311

Open cxbrooks opened 12 years ago

cxbrooks commented 12 years ago

Note: the issue was created automatically with bugzilla2github tool

Original bug ID: BZ#513 From: @lhstrh Reported version: 9.1.devel CC: pt-dev@chess.eecs.berkeley.edu

cxbrooks commented 12 years ago

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().