[ http://jira.codehaus.org/browse/CONTINUUM-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_104138 ]
Olivier Lamy commented on CONTINUUM-1063: ----------------------------------------- A enum class as : {code:title=org.apache.maven.continuum.ContinuumState.java|borderStyle=solid} public enum ContinuumState { NEW(1); ContinuumState( int value ) { this.value = value; } private final int value; public int value() { return value; } } {code} Thoughts ? > get rid of old models in continuum-webapp > ----------------------------------------- > > Key: CONTINUUM-1063 > URL: http://jira.codehaus.org/browse/CONTINUUM-1063 > Project: Continuum > Issue Type: Task > Reporter: Brett Porter > Fix For: 1.1-beta-2 > > > the mdo's in this directory either are not or should not be used. In > addition, I think the ContinuumState bean in the main model belongs as a > separate rather than generated class to avoid being caught up in the > XML/JDO/etc processing. If we really need to generate enums, we should just > use Java 5 already :) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira