Issue 13458: FeatureValue::hasEqualValues does not follow Annex A conventions (fuml-ftf) Source: Model Driven Solutions (Mr. Ed Seidewitz, ed-s(at)modeldriven.com) Nature: Uncategorized Issue Severity: Summary: Specification: Semantics of a Foundation Subset for Executable UML Models, FTF – Beta 1 (ptc/08-11-03) Section: 8.3.2.2.8 FeatureValue Summary: The operation FeatureValue::hasEqualValues uses the remove operation on a local list variable. This is not allowed by the conventions of Annex A. Proposed Resolution: Rather than introducing a special class as a “ValueList holder”, a local instance of FeatureValue can be used for this purpose. Replace: ValueList otherValues = new ValueList(); with: FeatureValue otherFeatureValues = new FeatureValue(); In subsequent code, replace all references to “otherValues” with “otherFeatureValues.values”. Resolution: Change the code as proposed Revised Text: In FeatureValue::hasEqualValues, replace: ValueList otherValues = new ValueList(); with: FeatureValue otherFeatureValues = new FeatureValue(); In subsequent code, replace all references to “otherValues” with “otherFeatureValues.values”. Actions taken: February 7, 2009: received issue July 23, 2010: closed issue Discussion: End of Annotations:===== ubject: FeatureValue::hasEqualValues does not follow Annex A conventions Date: Sat, 7 Feb 2009 10:51:31 -0500 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FeatureValue::hasEqualValues does not follow Annex A conventions thread-index: AcmJO/IwlfKIM/xeSG2/mty+lPw8YQ== From: "Ed Seidewitz" To: Specification: Semantics of a Foundation Subset for Executable UML Models, FTF . Beta 1 (ptc/08-11-03) Section: 8.3.2.2.8 FeatureValue Summary: The operation FeatureValue::hasEqualValues uses the remove operation on a local list variable. This is not allowed by the conventions of Annex A. Proposed Resolution: Rather than introducing a special class as a .ValueList holder., a local instance of FeatureValue can be used for this purpose. Replace: ValueList otherValues = new ValueList(); with: FeatureValue otherFeatureValues = new FeatureValue(); In subsequent code, replace all references to .otherValues. with .otherFeatureValues.values..