osate/osate2-core — Issue #29: AadlUnparser - 'provides' access print 2x
Author: glasnier
Created: 2011-11-22 14:47:53+00:00
State: open

The 'provides' token is printed 2x by the AadlUnparser when you use the function "Do Save (aaxl2) as Text (aadl)" on an xmi file.

Example of bug:
processor The_Processor
features
ETH: providesprovides bus access Ethernet_Bus;
end The_Processor;

It seems to be a wrong copy/paste in the construction of the string 'd' located in caseXXxAccess methods.
(See the class org.osate.xtext.aadl2.util.AadlUnparser.java and the caseBusAccess method for example).