[ https://issues.apache.org/jira/browse/LUCENE-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768273#action_12768273 ]
Uwe Schindler commented on LUCENE-1998: --------------------------------------- I thought about that, too: I would not do this. Especially because I want to have the 0-version (current) as first element for serialization purposes (changing the order of enum constants is bad, you should always add them at the end). Eventually we want to make the accessor to the interver v somehow public (for more specific comaprisons and so on). > Use Java 5 enums > ---------------- > > Key: LUCENE-1998 > URL: https://issues.apache.org/jira/browse/LUCENE-1998 > Project: Lucene - Java > Issue Type: Improvement > Affects Versions: 3.0 > Reporter: DM Smith > Assignee: Uwe Schindler > Priority: Minor > Fix For: 3.0 > > Attachments: LUCENE-1998_enum.patch, LUCENE-1998_enum.patch, > LUCENE-1998_enum.patch, LUCENE-1998_enum.patch > > > Replace the use of o.a.l.util.Parameter with Java 5 enums, deprecating > Parameter. > Replace other custom enum patterns with Java 5 enums. -- 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: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org