[ 
https://issues.apache.org/jira/browse/MUSE-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Eberbach resolved MUSE-163.
----------------------------------

    Resolution: Fixed

Added some better messages. This is to help guard against people generating the 
code, running it and getting a belowMinimum error. This way it'll throw an 
exception saying that the code needs to be initialized and there are todo's in 
the code that specify which properties have to be initialized.

> Non-primitive types that have a minOccurs greater than 0 need to be 
> initialized in the generated constructor
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MUSE-163
>                 URL: https://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.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to