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
 Assigned to: Naresh Bhatia 
    Priority: Minor


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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Reply via email to