Non-primitive types that have a minOccurs greater than 0 need to be initialized 
in the generated constructor
------------------------------------------------------------------------------------------------------------

                 Key: MUSE-163
                 URL: http://issues.apache.org/jira/browse/MUSE-163
             Project: Muse
          Issue Type: Bug
          Components: Tooling - Code Generation
    Affects Versions: 2.1.0
            Reporter: Andrew Eberbach
         Assigned To: Andrew Eberbach
            Priority: Minor
             Fix For: 2.2.0


This manifests itself the most when someone has a String as a property and 
doesn't give it an initial value in the generated code. The proposed solution 
is to have an initialize method generated that has a todo and throws a 
RuntimeException that the user has to make sure that proper initialization is 
done.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to