From: Eric C. (JIRA) <ji...@an...> - 2006-09-26 03:37:59
|
[ http://jira.andromda.org/browse/NETCART-12?page=all ] Eric Crutchfield updated NETCART-12: ------------------------------------ Attachment: Enumeration.vsl.patch CsCartridgeTestModel.xml.zip > Enum renders default value for strings > -------------------------------------- > > Key: NETCART-12 > URL: http://jira.andromda.org/browse/NETCART-12 > Project: .NET Cartridges > Type: Bug > Environment: WinXP > Reporter: Eric Crutchfield > Assignee: Naresh Bhatia > Priority: Minor > Attachments: CsCartridgeTestModel.xml.zip, Enumeration.vsl.patch > > An enum of type string with a default value will render an enum that won't compile. Using the TimeTracker java model generates an enum called Role as follows: > public enum Role > { > StandardUser = "StandardUser", > Administrator = "Administrator" > } > Attached is a patch and a new test model that includes one string enum with a default value. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |