[prev in list] [next in list] [prev in thread] [next in thread] 

List:       muse-dev
Subject:    [jira] Resolved: (MUSE-163) Non-primitive types that have a
From:       "Andrew Eberbach (JIRA)" <jira () apache ! org>
Date:       2007-02-26 22:34:06
Message-ID: 20120910.1172529246088.JavaMail.jira () brutus
[Download RAW message or body]


     [ 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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic